Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the self-signed SSL certificate #201

Open
JoeShi opened this issue Sep 26, 2023 · 0 comments
Open

Remove the self-signed SSL certificate #201

JoeShi opened this issue Sep 26, 2023 · 0 comments
Labels
update no feature added code update

Comments

@JoeShi
Copy link
Contributor

JoeShi commented Sep 26, 2023

Describe the bug

When I tried to debug on the Nginx proxy on using the curl or wget command. Here is the results:

[root@ip-10-255-3-177 nginx]# wget https://localhost:443
--2023-09-26 06:38:42--  https://localhost/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:443... connected.
ERROR: cannot verify localhost's certificate, issued by ‘/C=GB/ST=Test State/L=Test Locality/O=Org Name/OU=Org Unit Name/CN=Common Name/emailAddress=test’:
  Self-signed certificate encountered.
    ERROR: certificate common name ‘Common Name’ doesn't match requested host name ‘localhost’.
To connect to localhost insecurely, use `--no-check-certificate'.
[root@ip-10-255-3-177 nginx]# curl https://localhost:443
curl: (60) SSL certificate problem: self signed certificate
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.

This has blocked my troubleshooting

Expected Behavior

Do NOT use self-signed SSL certificate

Current Behavior

use self-signed SSL certificate

Reproduction Steps

N/A

Possible Solution

No response

Additional Information/Context

No response

Solution Version

v2.0.0

AWS Region. e.g., us-east-1

No response

Other information

No response

@JoeShi JoeShi added the bug Something isn't working label Sep 26, 2023
@JoeShi JoeShi added update no feature added code update and removed bug Something isn't working labels Dec 3, 2024
@JoeShi JoeShi changed the title proxy: use of self-signed certificate Remove the self-signed SSL certificate Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
update no feature added code update
Projects
None yet
Development

No branches or pull requests

1 participant