DEV Community

Vikas Singh
Vikas Singh

Posted on

How to renew ssl certificate on gcp (Apache server)

Fist open the ssh into your VM.

Step 1: Check Current Certificate Status for websitename.in
sudo certbot certificates

Step 2: Install Certificate for websitename.org
sudo certbot --apache -d websitename.org -d www.websitename.org

Step 3: Type number 2 : Redirect

if you are given ooptions to redirect.

**NOTE: **Replace websitename.org with your site name

Top comments (0)