Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

warpig's avatar
Level 12

SSL_ERROR_UNRECOGNIZED_NAME_ALERT

i have activated and have installed my ssl certificate through ssh, in what way can i make sure that this was done correctly? on my nginx file i see it's listening to these ports:

    listen 443 ssl http2;
    listen [::]:443 ssl http2;

should i change any of these configs?

the browser shows this even though i created the 3 files that came with the ssl (crt, p7b and ca-bundle) :

Secure Connection Failed

An error occurred during a connection. SSL peer has no certificate for the requested DNS name.

Error code: SSL_ERROR_UNRECOGNIZED_NAME_ALERT

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem.

they are on my droplet. also, on forge i established the certificate and the private key, and activated it, no errors were shown. both the path for the certificate and certificate_key seem to be correct given these are the same as in the tab menu. so what's wrong? thank you.

0 likes
0 replies

Please or to participate in this conversation.