Tips and tricks

Generate a SSL Certificate on your Machine for your site

install certbot:

brew install certbot

use this command:

sudo certbot certonly --manual --preferred-challenges http -d {{YOUR_SITE}} -d www.{{YOUR_SITE}}

you will have instructions to deploy a text file with some content into your /.well-known/acme-challenge/ folder

if you are on Mac OS X, you might have to see the generated folder

These point to permalinks

ls -l /etc/letsencrypt/live/{{YOUR_SITE}}

You might have to use ( on Mac OS X )

sudo cp /etc/letsencrypt/live/{{YOUR_SITE}}/fullchain.pem ~/Desktop/ssl
sudo cp /etc/letsencrypt/live/{{YOUR_SITE}}/privkey.pem ~/Desktop/sslssl

If your fullchain has 2 certificates – the first one is the CRT and the second one is the CA.

Once you have those files, you can install them in Cpanel / Manage Installed SSL Websites:

Cpanel

To test, you can use – SSL Test

or use:

openssl s_client -connect zoomthe.me:443 -servername zoomthe.me < /dev/null | openssl x509 -noout -dates -issuer -subject

if you are on shared hosting and you need your hosting provider to restart Apache, you can mail them

I have installed a new ssl certificate – please restart apache

Leave a comment

Your email address will not be published

{"type":"main_options","images_arr":"'#ffffff'","bg_slideshow_time":"0","site_url":"https:\/\/digitalzoomstudio.net","theme_url":"https:\/\/digitalzoomstudio.net\/wp-content\/themes\/qucreative\/","is_customize_preview":"off","gallery_w_thumbs_autoplay_videos":"off","base_url":"https:\/\/digitalzoomstudio.net"}