Como validar los certificados let´s escript en la wiki
Para poder renovar Por las dudas habilite el puerto 80 en el router.
Sacamos el enlance simbolico del del archivo.conf-le-ssl.conf
a2dissite archivo.conf-le-ssl.conf
Luego ingresamos al archivo.confy comentamos el reenvio server_name.
<VirtualHost *:80>
ServerAdmin admin@example.com DocumentRoot /var/www/html/mediawiki ServerName ejemplo.com
- ServerAlias www1.wiki1.villalba.com
<Directory /var/www/html/mediawiki/> Options +FollowSymlinks AllowOverride All Require all granted </Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined
- RewriteEngine on
- RewriteCond %{SERVER_NAME} =osvillalba.ddns.net
- RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
ahora corremos el comando
certbot renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Processing /etc/letsencrypt/renewal/osvillalba.ddns.net.conf - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Cert is due for renewal, auto-renewing... Plugins selected: Authenticator webroot, Installer apache Renewing an existing certificate Performing the following challenges: http-01 challenge for osvillalba.ddns.net Waiting for verification... Cleaning up challenges
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - new certificate deployed with reload of apache server; fullchain is /etc/letsencrypt/live/osvillalba.ddns.net/fullchain.pem - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Congratulations, all renewals succeeded. The following certs have been renewed:
/etc/letsencrypt/live/osvillalba.ddns.net/fullchain.pem (success)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Hasta que te aparescar este mensaje anterior.
Ahora descomente lo que se comento anteriormente y habilite el sitio.
a2ensite mediawiki-le-ssl.conf