Closed kieferrm closed 1 year ago
This seems to be an issue with the certificate (maybe the hostname or something else). I'll update the instructions to include the "subject" which will also skip all manual entries:
openssl req -x509 -newkey rsa:4096 -keyout server_localhost_key.pem -out server_localhost_crt.pem -days 365 -nodes -subj /CN=localhost
Using that then works for me on macOS.
I still see the same issue with a newly generated certificate:
Note: Make sure to replace all sensitive information with dummy values before sharing this output.
VS Code 1.81.0-insider (862fa13002d8018c328931ee1edccfd4ca76447d)
Network Proxy Test 0.0.8
darwin 21.6.0 arm64
Settings:
- http.proxy:
- http.proxyAuthorization: null
- http.proxyStrictSSL: true
- http.proxySupport: override
- http.systemCertificates: true
Environment variables:
Sending HTTP2 GET request to https://localhost:3000...
Received error: self signed certificate (DEPTH_ZERO_SELF_SIGNED_CERT)
Retrying while ignoring certificate issues to collect information on the certificate chain.
Sending HTTP2 GET request to https://localhost:3000 (allowing unauthorized)...
Received response:
- Status: 200 OK
Certificate chain:
- Subject: localhost
Validity: Jul 26 18:35:17 2023 GMT - Jul 25 18:35:17 2024 GMT
Fingerprint: DB:2C:FB:F5:48:68:64:9A:46:DC:FD:58:B2:BB:87:65:72:29:A8:DF
Self-signed
Local root certificates:
- Subject: CN=localhost
Validity: Jul 26 18:35:17 2023 GMT - Jul 25 18:35:17 2024 GMT
Fingerprint: DB:2C:FB:F5:48:68:64:9A:46:DC:FD:58:B2:BB:87:65:72:29:A8:DF
Issuer: CN=localhost
Could you:
The certificate seems to be picked up correctly, but just to compare: I have added mine under Certificates
and System
:
Reloading the window after I installed the certs did the trick. It seems like we catch the validity of the certs in the EH.
Missed that when writing instructions. (Adding it now in case I copy them for future test plan items.) Thanks!
Testing #188686
Following the steps I get the following output:
This is the system information: