je reste en http...
Si je tente d'y accéder directement par https:
Code d’erreur : SSL_ERROR_RX_RECORD_TOO_LONG/
je cherche avec google pour voir ce qui cloche.
edit:
Le vhost
openssl s_client -connect mondomain.ddns.net:443 -servername mondomain.ddns.net
CONNECTED(00000003)
depth=2 C = IL, O = StartCom Ltd., OU = Secure Digital Certificate Signing, CN = StartCom Certification Authority
verify return:1
depth=1 C = IL, O = StartCom Ltd., OU = StartCom Certification Authority, CN = StartCom Class 1 DV Server CA
verify return:1
depth=0 C = FR, CN = mondomain.ddns.net
verify return:1
---
Certificate chain
0 s:/C=FR/CN=mondomain.ddns.net
i:/C=IL/O=StartCom Ltd./OU=StartCom Certification Authority/CN=StartCom Class 1 DV Server CA
1 s:/C=IL/O=StartCom Ltd./OU=StartCom Certification Authority/CN=StartCom Class 1 DV Server CA
i:/C=IL/O=StartCom Ltd./OU=Secure Digital Certificate Signing/CN=StartCom Certification Authority
ls -all /etc/nginx/ssl
drwxr-xr-x 2 root root 4096 juin 30 03:11 .
drwxr-xr-x 6 root root 4096 juin 30 14:18 ..
-rw-r--r-- 1 root root 4583 juin 30 02:35 1_mondomain.ddns.net_bundle.crt
-rw-r--r-- 1 root root 2804 juin 30 02:28 ca.pem
-rw-r--r-- 1 root root 45 juin 30 02:37 ca-sha2.pem
-rw-r----- 1 root root 424 juin 30 02:45 dhparams.pem
-rw-r--r-- 1 root root 4628 juin 30 02:38 mondomain.ddns.net.crt-unified
-rw-r--r-- 1 root root 4583 juin 30 02:37 mondomain.ddns.net.csr
-rw-r--r-- 1 root root 3272 juin 30 02:32 mondomain.ddns.net.key
-rw-r--r-- 1 root root 1391 juin 26 16:03 server.crt
-rw-r--r-- 1 root root 1704 juin 26 16:03 server.key
-rw-r--r-- 1 root root 45 juin 30 02:28 sub.class1.server.ca.pem
J'ai écourté mais si je comprend bien, c'est correct ce que j'ai fait non ?