Guten Tag, gerade bekommen ich die einfachsten Dinge nicht hin.
Habe gestern das SSL Zertifikat bei meinem Kunden installiert. Nach 10 min lief alles.
Bei meinem Ubuntu Server lief nicht alles reibungslos ab. Genau gleicher Vorgang.
Sobald ich auf meine Homepages gehe, bekomme ich kein Schloss. Aber im Zertifikat gesteht drin, gültig ab 27.11.2023 .. Let's Encrypt
root@tomycat:/home/tomycat# apt install snapd Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig snapd ist schon die neueste Version (2.58+20.04.1). 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 100 nicht aktualisiert. root@tomycat:/home/tomycat# snap install hello-world hello-world 6.4 from Canonical✓ installed root@tomycat:/home/tomycat# hello-world Hello World! root@tomycat:/home/tomycat# snap install --classic certbot certbot 2.7.4 from Certbot Project (certbot-eff✓) installed root@tomycat:/home/tomycat# ln -s /snap/bin/certbot /usr/bin/certbot root@tomycat:/home/tomycat# certbot --apache Saving debug log to /var/log/letsencrypt/letsencrypt.log Enter email address (used for urgent renewal and security notices) (Enter 'c' to cancel): *********** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Please read the Terms of Service at https://letsencrypt.org/documents/LE-SA-v1.3-September-21-2022.pdf. You must agree in order to register with the ACME server. Do you agree? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (Y)es/(N)o: Y - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Would you be willing, once your first certificate is successfully issued, to share your email address with the Electronic Frontier Foundation, a founding partner of the Let's Encrypt project and the non-profit organization that develops Certbot? We'd like to send you email about our work encrypting the web, EFF news, campaigns, and ways to support digital freedom. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (Y)es/(N)o: Y Account registered. Which names would you like to activate HTTPS for? We recommend selecting either all domains, or all domains in a VirtualHost/server block. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1: *********** 2: www.********* 3: gehackter-server.de 4: www.gehackter-server.de - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Select the appropriate numbers separated by commas and/or spaces, or leave input blank to select all options shown (Enter 'c' to cancel): 3 Requesting a certificate for gehackter-server.de Successfully received certificate. Certificate is saved at: /etc/letsencrypt/live/gehackter-server.de/fullchain.pem Key is saved at: /etc/letsencrypt/live/gehackter-server.de/privkey.pem This certificate expires on 2024-02-25. These files will be updated when the certificate renews. Certbot has set up a scheduled task to automatically renew this certificate in the background. Deploying certificate Successfully deployed certificate for gehackter-server.de to /etc/apache2/sites-available/gehackterserver-le-ssl.conf Congratulations! You have successfully enabled HTTPS on https://gehackter-server.de We were unable to subscribe you the EFF mailing list because your e-mail address appears to be invalid. You can try again later by visiting https://act.eff.org. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - root@tomycat:/home/tomycat# root@tomycat:/home/tomycat# root@tomycat:/home/tomycat# certbot --apache Saving debug log to /var/log/letsencrypt/letsencrypt.log Which names would you like to activate HTTPS for? We recommend selecting either all domains, or all domains in a VirtualHost/server block. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1: ********** 2: www.********** 3: gehackter-server.de 4: www.gehackter-server.de - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Select the appropriate numbers separated by commas and/or spaces, or leave input blank to select all options shown (Enter 'c' to cancel): 4 Requesting a certificate for www.gehackter-server.de Successfully received certificate. Certificate is saved at: /etc/letsencrypt/live/www.gehackter-server.de/fullchain.pem Key is saved at: /etc/letsencrypt/live/www.gehackter-server.de/privkey.pem This certificate expires on 2024-02-25. These files will be updated when the certificate renews. Certbot has set up a scheduled task to automatically renew this certificate in the background. Deploying certificate Successfully deployed certificate for www.gehackter-server.de to /etc/apache2/sites-enabled/gehackterserver-le-ssl.conf Congratulations! You have successfully enabled HTTPS on https://www.gehackter-server.de - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - root@tomycat:/home/tomycat# certbot renew --dry-run Saving debug log to /var/log/letsencrypt/letsencrypt.log - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Processing /etc/letsencrypt/renewal/gehackter-server.de.conf - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Account registered. Simulating renewal of an existing certificate for gehackter-server.de - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Processing /etc/letsencrypt/renewal/www.gehackter-server.de.conf - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Simulating renewal of an existing certificate for www.gehackter-server.de - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Congratulations, all simulated renewals succeeded: /etc/letsencrypt/live/gehackter-server.de/fullchain.pem (success) /etc/letsencrypt/live/www.gehackter-server.de/fullchain.pem (success) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - root@tomycat:/home/tomycat#
Bearbeitet von Thomas_Do:
Tippfehler im Titel korrigiert.
Bearbeitet von Thomas_Do:
Forensyntax korrigiert.