Aller au contenu

« FeministWiki:Server setup » : différence entre les versions

Ligne 82 : Ligne 82 :
=== Initialize LetsEncrypt ===
=== Initialize LetsEncrypt ===


The first run of Certbot has to be interactive.  Run "certbot certonly" and follow the on-screen instructions.  Don't forget that you have to stop Apache before you can use the "standalone" authentication method.
The first run of Certbot has to be interactive, so we will do that now.  Since the DNS entries still point to the old server, we can't get a cert for the real domainsFor now, make '''feministwiki.dev''' point to the IP address of the new server, then proceed with the instructions below.
 
Stop Apache (<code>systemctl stop apache2</code>), run <code>certbot certonly --cert-name feministwiki.org</code> (yes, the name should be <code>.org</code> even though the domain will be just <code>.dev</code> for now), then follow the on-screen instructions.  Use the "standalone" authentication method when asked and enter feministwiki.dev as the sole domain.


=== Put config files in place ===
=== Put config files in place ===