I ran this command:I ran $ certbot --apache and managed to submit all my info to generate the ssl
It produced this output: I was able to get the private key but I never found the public key to get this on my server(google cloud) and get it up and running
My operating system is (include version): Apache and Debian 8
My web server is (include version):
My hosting provider, if applicable, is: google cloud
I can login to a root shell on my machine (yes or no, or I donât know): yes
Iâm using a control panel to manage my site (no, or provide the name and version of the control panel): no
So afterward out of desperation and being unable to install the ssl i deleted the lets encrypt file alongside the rest of files with it. Now I want to revoke my SSL and create a new one to try again but when i run the command it obviously cant find anything as I deleted it. So basically>
If youâve deleted all the files, there is no way to revoke the certificate (effectively, you can no longer prove that it was yours, as opposed to someone elseâs). If you still have the private key, it can be used for revocation, but this isnât a requirement unless the private key has been accidentally disclosed to an unauthorized party.
Either way, revoking the certificate isnât a requirement for getting a new one. There are limits to how many Letâs Encrypt certificates you can create for the same domains, but you can still have more than one at once (and revoking old certificates doesnât increase or affect the limits at all).
The certificate that youâre using on your site right now is some kind of test or default certificate from your hosting environment, not a Letâs Encrypt certificateâwhich makes sense since you said you didnât succeed in getting the Letâs Encrypt certificate set up. So your hosting environment is still working with a built-in test certificate. Thatâs why you see the example.com stuff and the other warnings from the checker too.
If youâre using Certbot, you can find all of the files associated with your certificate inside /etc/letsencrypt/live. Typically theyâll be something like
/etc/letsencrypt/live/thestairwaytosuccess.com/privkey.pem â the private key for your site
/etc/letsencrypt/live/thestairwaytosuccess.com/fullchain.pem â your certificate plus the intermediate (âchainâ) certificate that proves that Letâs Encrypt is a trusted certificate authority
You can enter these locations into configuration files or tools for server applications running on the same machine, or copy the files onto other machines if you need to. (If you do that, be aware that the certificate is only valid for 90 days and youâll have to repeat the process every time itâs due to expire!)
Wow thank you very much for the swift reply Schoen. One more question when I try to generate a new SSL I get the email address I am inputting is not valid. Can I only generate an SSL per email? Or is that some submission error on my end.
Hi thanks agaian. Heres the screenshot. I am getting this right after installing the certbot (sudo apt-get install python-certbot-apache -t jessie-backports) and running âcertbot --apacheâ with âsudoâ as prefix .
It sounds like Apache thinks something else is listening on port 80. Are you sure youâre actually running Apache? If so, is it possible that the Apache youâre running is different from the one packaged with the operating system (such as a custom compiled version)?
It sounds like youâre having the same problem as this person. Maybe the same solution will work for you too? (but see also @schoenâs reply there: auto-renewal wonât quite work by following those instructions exactly).
Thanks Iâve checked it out ;however I ended up going with PHP 5.6 for a simpler approach. I couldnt really fully understand the explanation you sent me for Bitnami. I have managed to generate my certificate however I got the following error through PHP 5.6, It says it cant install my server or something of the sort.
Is there a file /etc/apache2/sites-enabled/wordpress.conf, and if so, does it have a mismatched <IfModule> (that is, one at the start but no matching </IfModule> at the end, or vice versa)?
I also use vim. If your priority is editing individual files without learning editor commands, the usual recommendation is nano (a clone of the classic editor pico), which aims to be very simple to use. If youâre going to do a lot of text editing, there can be a lot of benefit to learning the command set of a sophisticated editor like vim or Emacs, which can make many complex editing tasks super-fast.