By MickM
Hi, hopefully, someone can help.
Had my site up and running, access the console via SSH and followed the guide to install Lets Encrypt SSL.
Ran the commands and it confirmed it installed successfully, can see the certificate files etc. Then went to browse to the website but was unable to.
First thing I checked was the Wordpress URL was set correctly (Changed from http:// to https:// via wp-config. Restarted the server and still unable to browse to it.
Web URL Is https://caps-ltd.co.uk
The only error I can see in the Apache error.log is 'Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ Which I don’t believe is causing the issue.
I chose option 2 during the Let’s Encrypt setup to redirect all traffic to https://
default le-ssl config looks like:
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
<Directory /var/www/html/>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine On
ServerName caps-ltd.co.uk
SSLCertificateFile /etc/letsencrypt/live/domain/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/domain/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>
Anyone got any advice on what I have done wrong at all?
Thank you.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I can access your website just fine over HTTPs. Were you able to figure it out? Also, there is an image in the footer that is loading over HTTP—you need to replace that with an HTTPS link in order to see the green HTTPS lock icon in the URL bar.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.