Jestli to chápu správně, tak jste upravoval PEM soubor, ve kterém není certifikát, ale privátní klíč. Webserver ale klientovi (prohlížeči) posílá certifikát(y), ne privátní klíče, takže mezilehlé certifikáty musíte přibalit k certifikátu (často soubor s příponou .crt).
V adresary
/etc/letsencrypt/live/web/
mam symlinky na 4 subory
cert.pem
chain.pem
fullchain.pem
privkey.pem
ktore som vygeneroval prikazom
./letsencrypt-auto certonly --webroot -w /var/www/web -d moj-web.com -d www.moj-web.com
Vystup z generovania
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/web/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/web/privkey.pem
Your cert will expire on 2018-08-31. To obtain a new or tweaked
version of this certificate in the future, simply run
letsencrypt-auto again. To non-interactively renew *all* of your
certificates, run "letsencrypt-auto renew"
- If you like Certbot, please consider supporting our work by:
Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le
Ako som uviedol vyssie v prispevku, pridal som do
/etc/apache2/sites-available/web.conf
direktivu
SSLCertificateKeyFile /etc/letsencrypt/live/web/fullchain.pem
Ale vysledok sa nedostavil. myslel som si, ze mam tam chybu (key), cize som to upravil na
SSLCertificateFile /etc/letsencrypt/live/web/fullchain.pem
ale restart apache zlyhal (pre spatny config).
Když je tak tajné, jaký web to je, asi si budeš muset vystačit sám. Mohlo by pomoct https://www.ssllabs.com/ssltest/.
Web tu nechcem uvadzat, pretoze je to urceny len pre urcity okruh ludi a nechcem ho zverejnovat. Ten test som vcera spravil ... dostal som hodnotenie B.
Priznam sa, ze neviem velmi dobre po anglicky, ale test mal vystupy vacsinou v zelenych, resp. oranzovych cislach. Jedine cervenym bolo v sekcii Configuration - Handshake Simulation
IE 8 / XP No FS 1 No SNI 2 Server sent fatal alert: handshake_failure
Ak je potrebne dodat nejake vysledky neni problem (web tu ale nechcem zverejnovat)