microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.52k stars 4.42k forks source link

[Package Issue]: Microsoft.Office #95927

Closed work324 closed 1 year ago

work324 commented 1 year ago

Please confirm these before moving forward

Category of the issue

Installation issue.

Brief description of your issue

Previously was using the following command to install Microsoft Office winget install -e --id Microsoft.Office --accept-package-agreements --accept-source-agreements --silent

It is now erroring out with a "Couldn't install" error. "We couldn't find the specified configuration file. Check the file path and file name.

Steps to reproduce

winget install -e --id Microsoft.Office --accept-package-agreements --accept-source-agreements --silent

Actual behavior

Error's out.

Expected behavior

Microsoft.Office would be installed.

Environment

Windows: Windows.Desktop v10.0.22621.1105
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0

Screenshots and Logs

No response

sur5r commented 1 year ago

I guess someone at Microsoft needs to renew a certificate:

$ curl -L -v https://aka.ms/fhlwingetconfig
*   Trying 184.24.11.74:443...
* Connected to aka.ms (184.24.11.74) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* [CONN-0-0][CF-SSL] TLSv1.0 (OUT), TLS header, Certificate Status (22):
* [CONN-0-0][CF-SSL] TLSv1.3 (OUT), TLS handshake, Client hello (1):
* [CONN-0-0][CF-SSL] TLSv1.2 (IN), TLS header, Certificate Status (22):
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Server hello (2):
* [CONN-0-0][CF-SSL] TLSv1.2 (IN), TLS header, Finished (20):
* [CONN-0-0][CF-SSL] TLSv1.2 (IN), TLS header, Supplemental data (23):
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* [CONN-0-0][CF-SSL] TLSv1.2 (IN), TLS header, Supplemental data (23):
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Certificate (11):
* [CONN-0-0][CF-SSL] TLSv1.2 (IN), TLS header, Supplemental data (23):
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, CERT verify (15):
* [CONN-0-0][CF-SSL] TLSv1.2 (IN), TLS header, Supplemental data (23):
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Finished (20):
* [CONN-0-0][CF-SSL] TLSv1.2 (OUT), TLS header, Finished (20):
* [CONN-0-0][CF-SSL] TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* [CONN-0-0][CF-SSL] TLSv1.2 (OUT), TLS header, Supplemental data (23):
* [CONN-0-0][CF-SSL] TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN: server accepted http/1.1
* Server certificate:
*  subject: C=US; ST=WA; L=Redmond; O=Microsoft Corporation; CN=go.microsoft.com
*  start date: Oct 13 21:29:19 2022 GMT
*  expire date: Oct  8 21:29:19 2023 GMT
*  subjectAltName: host "aka.ms" matched cert's "aka.ms"
*  issuer: C=US; O=Microsoft Corporation; CN=Microsoft Azure TLS Issuing CA 06
*  SSL certificate verify ok.
* [CONN-0-0][CF-SSL] TLSv1.2 (OUT), TLS header, Supplemental data (23):
> GET /fhlwingetconfig HTTP/1.1
> Host: aka.ms
> User-Agent: curl/7.87.0
> Accept: */*
> 
* [CONN-0-0][CF-SSL] TLSv1.2 (IN), TLS header, Supplemental data (23):
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* [CONN-0-0][CF-SSL] TLSv1.2 (IN), TLS header, Supplemental data (23):
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* [CONN-0-0][CF-SSL] TLSv1.2 (IN), TLS header, Supplemental data (23):
* Mark bundle as not supporting multiuse
< HTTP/1.1 301 Moved Permanently
< Content-Length: 0
< Server: Kestrel
< Location: https://prod.officeconfig.msocdn.com/mirrored/services/flux/cloudconfigs/wingeta.xml
< Request-Context: appId=cid-v1:b47e5e27-bf85-45ba-a97c-0377ce0e5779
< X-Response-Cache-Status: True
< Expires: Mon, 13 Feb 2023 10:01:34 GMT
< Cache-Control: max-age=0, no-cache, no-store
< Pragma: no-cache
< Date: Mon, 13 Feb 2023 10:01:34 GMT
< Connection: keep-alive
< Strict-Transport-Security: max-age=31536000 ; includeSubDomains
< 
* Connection #0 to host aka.ms left intact
* Issue another request to this URL: 'https://prod.officeconfig.msocdn.com/mirrored/services/flux/cloudconfigs/wingeta.xml'
*   Trying [2a02:26f0:3500:598::265f]:443...
* Connected to prod.officeconfig.msocdn.com (2a02:26f0:3500:598::265f) port 443 (#1)
* ALPN: offers h2
* ALPN: offers http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* [CONN-1-0][CF-SSL] TLSv1.0 (OUT), TLS header, Certificate Status (22):
* [CONN-1-0][CF-SSL] TLSv1.3 (OUT), TLS handshake, Client hello (1):
* [CONN-1-0][CF-SSL] TLSv1.2 (IN), TLS header, Certificate Status (22):
* [CONN-1-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Server hello (2):
* [CONN-1-0][CF-SSL] TLSv1.2 (IN), TLS header, Finished (20):
* [CONN-1-0][CF-SSL] TLSv1.2 (IN), TLS header, Supplemental data (23):
* [CONN-1-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* [CONN-1-0][CF-SSL] TLSv1.2 (IN), TLS header, Supplemental data (23):
* [CONN-1-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Certificate (11):
* [CONN-1-0][CF-SSL] TLSv1.2 (OUT), TLS header, Unknown (21):
* [CONN-1-0][CF-SSL] TLSv1.3 (OUT), TLS alert, certificate expired (557):
* SSL certificate problem: certificate has expired
* Closing connection 1
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
denelon commented 1 year ago

I reached out to the folks I worked with on the hackathon to make this package possible via WinGet. It should be working now.