Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
598 views
by Talented

Hello all,

I have used cloudflare free SSL origin certificate. Now I want to use Brotli compression, it's not supports cloudflare origin certificate. So today I try to switch to letsencrypt. Now I'm getting this error even if I manually removed each sites privkey.key and fullchain.pem file paths in configurations. Are there any better solution to correct this error (i used this tutorial to install cloudflare ssl keys).

root@server:~# sudo site mydomain.com -ssl=on

SSL is already enabled for your site - mydomain.com

Then I try to remove SSL certificate by using following method, but it's not working too.

root@server:~# sudo site mydomain.com -ssl=off -revoke=on

usage:

  certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...

Certbot can obtain and install HTTPS/TLS/SSL certificates.  By default,

it will attempt to use a webserver both for obtaining and installing the

certificate.

certbot: error: argument --cert-path: No such file or directory

SSL Cert for your site mydomain.com has been completely removed and revoked!

SSL has been successfully disabled for your site - mydomain.com

root@server:~# sudo site mydomain.com -ssl=on

SSL is already enabled for your site - mydomain.com

1 Answer

+1 vote
by Expert
selected by
 
Best answer

I don't really know what you did or what you're trying to do, but:

  1. SSL=ON is saying that some cert is configured in your site Nginx Conf file, that's why Webinoly say that is "already enabled".
  2. SSL=OFF throw an error because can not find the Let's Encrypt cert.pem file, seems like you have removed it manually.
  3. Seems like you have removed the original SSL Webinoly code from your site Nginx conf file and now is corrupted.
by Talented

Thank you for your early reply.

When I installed Webinoly on my Ubuntu server (18.04), I didn’t enable Letsencrypt for my WordPress sites. I only used Cloudflare origin certificate. Therefore, I think there’s no any letsencrypt SSL certificates on my server (if I’m wrong please correct me). I simply generated private key and origin certificate from Cloudflare site and placed them inside the Nginx installed directory separate folder. Then I added each site private key and origin certificate path in each sites configuration file. That’s I have done.

I try to fix this issue by running “sudo webinoly -uninstall” and reinstall webinoly, but no luck.

If my server Webinoly corrupted, are there any possibility to correct it without losing WordPress installation and its data?

by Expert
Just remove the code you manually added to Nginx and everything should work fine after that.

As I said before, you have an SSL cert configured in your site Nginx conf file, that you added it manually.
by Talented
Thank you so much your support.

Earlier I commented nginx SSL configuration, i think that's it not working. Now I completely removed all the SSL configuration and it worked.

Again thanks for the support.
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...