Certbot on Wordpress Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
albeck
Posts: 15
Joined: Sun Dec 06, 2020 1:09 am

Certbot on Wordpress

Post by albeck »

I’ve used the dietpi-software script to install Wordpress which uses righttpd. However I can’t get Cerbot SSL working. Is it compatible with righttpd? I’m forwarding to port 443 https but the pages are corrupted and insecure - no padlock. I’ve tried to reinstall Certbot but now the certificate is invalid and there are no files/folders for Certbot under /etc. I guess I’ve broken it so need to start again. Any tips welcome.
User avatar
Joulinar
Posts: 3135
Joined: Sat Nov 16, 2019 12:49 am

Re: Certbot on Wordpress

Post by Joulinar »

Hi,

many thanks for your message. Lighttpd is perfectly fine for using HTTPS, Do you used dietpi-letsencrypt to create your certificate? I created following guide quite a while back. It was intended for Nextcloud but it should fit for WP as well.

viewtopic.php?p=22271#p22271
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
albeck
Posts: 15
Joined: Sun Dec 06, 2020 1:09 am

Re: Certbot on Wordpress

Post by albeck »

Hi there
Thank you - I have tried dietpi-letsencrypt
Trying LEMP stack now
I will read doc, thanks
albeck
Posts: 15
Joined: Sun Dec 06, 2020 1:09 am

Re: Certbot on Wordpress

Post by albeck »

2020-12-08_12-50-44.jpg
2020-12-08_12-50-44.jpg (22.41 KiB) Viewed 235 times
i've done as suggested but site still insecure even though the certificate is valid
what to try next?
thanks
albeck
Posts: 15
Joined: Sun Dec 06, 2020 1:09 am

Re: Certbot on Wordpress

Post by albeck »

2020-12-08_13-39-02.jpg
2020-12-08_13-39-02.jpg (5.37 KiB) Viewed 234 times
This is another capture of my url with https crossed out. What does this mean and how to fix? Thanks.
User avatar
Joulinar
Posts: 3135
Joined: Sat Nov 16, 2019 12:49 am

Re: Certbot on Wordpress

Post by Joulinar »

try to clean browser cache and cookies. Afterwards try again. Usually you should be able to display the certificate inside the browser to see where the issue is
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
albeck
Posts: 15
Joined: Sun Dec 06, 2020 1:09 am

Re: Certbot on Wordpress

Post by albeck »

Hi - just reinstalled everything - in the browser the cert is valid but there's no padlock and there's not secure warning at left of address bar.
I'm using a static ip address: A Record @ ip and Cname www pointing from Namecheap - could there be an issue with this provider?
Any ideas?
Thanks
albeck
Posts: 15
Joined: Sun Dec 06, 2020 1:09 am

Re: Certbot on Wordpress

Post by albeck »

2020-12-08_15-47-09.jpg
2020-12-08_15-45-00.jpg
2020-12-08_15-42-37.jpg
2020-12-08_15-42-37.jpg (29.53 KiB) Viewed 219 times
I've included screen captures to show what I can see inside the cert and as above in address bar
User avatar
Joulinar
Posts: 3135
Joined: Sat Nov 16, 2019 12:49 am

Re: Certbot on Wordpress

Post by Joulinar »

looks like your certificate was issued by R3?? If you use dietpi-letsencrypt it should be issued by Let's Encrypt.

Do you use exactly the same domain name as in your certificate? or do you use any subdomain?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
albeck
Posts: 15
Joined: Sun Dec 06, 2020 1:09 am

Re: Certbot on Wordpress

Post by albeck »

I’m not sure why the cert is issued by R3 as I installed Cerbot as per instructions. I’m using the same domain as in the certificate.
Post Reply