• Resolved jimk1416

    (@jimk1416)


    When installing the certificate at the generation stage I get a message that keys exist already.
    If I go to the directory mentioned in the message on the server there are 2 files in that folder:
    private.pem
    public.pem
    If I paste the text from the public into the CRT box and the private into the Private box to update certificate on the server it says “The certificate is not valid.”
    How can I get the keys?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @jimk1416 when in the wizard, can you add &reset-letsencrypt=1 behind the url, then hit enter?

    Tomorrow the new version is released with a reset option in the UX. You can also wait until then.

    After resetting, you should be able to re-run the wizard, and generate the certificate. Then you can download the keys by clicking the “download” buttons in the wizard.

    Thread Starter jimk1416

    (@jimk1416)

    when I click in the address bar I get this
    https://www.mydomain.com/wp-admin/options-general.php?page=rlrsssl_really_simple_ssl&tab=letsencrypt

    where do I add the &reset-letsencrypt=1

    I tried it like this and it didn’t work. Same error message and did not give me a way to download keys.
    https://www.mydomain.com/wp-admin/options-general.php?page=rlrsssl_really_simple_ssl&reset-letsencrypt=1

    • This reply was modified 4 years, 8 months ago by jimk1416.
    • This reply was modified 4 years, 8 months ago by jimk1416.
    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Please try it like this:

    mydomain.com/wp-admin/options-general.php?page=rlrsssl_really_simple_ssl&tab=letsencrypt&reset-letsencrypt=1

    It will reset the current Let’s Encrypt status, then you can start the generation again. In the “installation” step, you should then get some download buttons.

    Thread Starter jimk1416

    (@jimk1416)

    same thing. Gets to the generation step and says:
    Attempt 5. Keys exist already. Exists the LE_ACME2\Order already? Path:
    and provides the path to the server folder.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Today’s update includes the option to reset from within the plugin. Can you try that, then check in FTP if the files have been cleared in the ssl/ folder?

    Thread Starter jimk1416

    (@jimk1416)

    I tired it with the reset link but still no option to download the certificates. Same message.
    I have confirmed that it clears the public_html/ssl/keys directory after the reset.
    Message:
    Attempt 5. Keys exist already. Exists the LE_ACME2\Order already? Path: /home3/username/public_html/ssl/keys/account_live_email-address/order_ff9039a577394876898579976f96fb79/
    After the reset the folder mentioned above was not there.

    I tried to copy the contents of the public.pem file into the CRT box on the server and still says The certificate is not valid.
    Is the public.pem file the CRT certificate?
    Because its generating the public.pem and the private.pem into that folder.

    I’m on hostgator shared server with multiple add-on domains but I’ve always been able to paste the certificates into the boxes on server to update the certificates.
    SSL is still working but if you click on the certificate info in the browser address bar it does not match the add-on domain name. This has to do with the free ones you get. I’m not trying to install a paid certificate.

    • This reply was modified 4 years, 8 months ago by jimk1416.
    • This reply was modified 4 years, 8 months ago by jimk1416.
    Plugin Author Mark

    (@markwolters)

    Hi @jimk1416,

    did you manage to complete the wizard once after doing the reset? As the keys directory is cleared, the keys already exists error should not occur. If the wizard still failed to complete, you could try to delete the keys directory manually and rerun the wizard afterwards.

    How are you installing the SSL certificate exactly? When using cPanel on Hostgator, you can follow these instructions: https://really-simple-ssl.com/installing-ssl-on-cpanel/

    Thread Starter jimk1416

    (@jimk1416)

    Yes I am installing it exactly as that link you sent explains. And when I paste in the public.pem contents it says invalid. But I don’t think the public.pem is the right certificate for the CRT box. I see the files generated from my other sites start with —–BEGIN CERTIFICATE—– whereas the public.pem file starts with —–BEGIN PUBLIC KEY—–

    I used the reset button in the wizard and have confirmed that the directory on the server has deleted those files. But I am still getting the message that the keys exist already.

    I have seen the same message on some of my other sites but since I have the CRT file saved I am still able to copy and paste into the server boxes (as per that hostgator tutorial)
    The problem I have now is that since I didn’t save the CRT file for this website I have no other way to get it unless the plugin lets me download it again. But the error won’t get me there.

    I hope that all makes sense.

    Plugin Author Mark

    (@markwolters)

    Hi @jimk1416,

    sorry for the late response. We have tried to reproduce the issue but haven’t been able to do so. This leads me to believe it might be caused by an issue on your webserver. In regards to the certificate, the CRT file indeed start with –BEGIN CERTIFICATE–. The public key file is the public.pem. Usually SSL installation in cPanel only required the CRT (certificate) and KEY (private key) files. Hostgator also offers a free SSL for cPanel customers. See https://www.hostgator.com/help/article/hostgator-free-ssl

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    I’m sorry, this thread was overlooked this week. Could it be some sort of caching? In that case, trying again might help.

    Are you using default directory or dns verification?

    Maybe there is a mismatch between the folder the plugin is looking at and the actual folder where the certs are generated. Do you have a folder in the root of your site, with a random name, which contains aan ssl folder?

    Thread Starter jimk1416

    (@jimk1416)

    Hey guys.
    Thanks.
    Yes I am able to use the free Hostgator certificate only thing is sometimes the domain it uses if you were to check the certificate by right clicking from browser address bar, is not the actual domain of the website. Sometimes its a subdomain of my main hosting account. RSSSL says its not a valid certificate. After configuring it with this plugin sometimes the cert gets overwritten by the free one and I have to install it again to get the domain to match.
    If I had saved a copy of the files the first time I’d be fine. But it just won’t let me download them again.
    There is no other folder in site root. It’s sees the correct folder so that’s all good. I just don’t have the crt and private files to install it manually again on server.

    Plugin Author Mark

    (@markwolters)

    Hi @jimk1416,

    the certificate being overwritten is not something caused by Really Simple SSL. That’s likely caused by a server configuration issue. We have tried to reproduce your issue but haven’t been able to. Perhaps you could try removing and reinstalling the plugin to see if that fixes the issue.

    Thread Starter jimk1416

    (@jimk1416)

    Yes I agree. The overwriting is a server issue. I have tried uninstalling and reinstalling the plugin but that didn’t work. Oh well

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Key exists already’ is closed to new replies.