• Resolved ivaldes1

    (@ivaldes1)


    SSL certificates have been placed on the Rocky Linux 8 file system in both /pathtowebsite/stringofnumbers/ssl/keys as both *.pem and *.key and /pathtowebsite/stringofnumbers/ssl/certs as *.cert
    as well as in /pathtowebsite/ssl/certs and keys

    permissions are apache:apache 444.

    Messages from RSSSL
    We have not detected any known hosting limitations.
    The challenge directory was successfully created.
    The key directory was successfully created.
    The certs directory was successfully created.
    The required directories have the necessary writing permissions.
    Successfully verified alias domain.`

    I endlessly get: No SSL certificate has been detected. Please refresh detection if a certificate has been installed recently.

    Activate Override makes the whole website unreachable.

    I am my own hosting provider.

    • This topic was modified 4 years, 5 months ago by ivaldes1.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Author Mark

    (@markwolters)

    Hi @ivaldes1,

    this usually indicates an issue with the SSL certificates. Can you double check the .pem and .key files are the correct ones? Once the server configuration points to the right certificate your site should show as secure.

    Thread Starter ivaldes1

    (@ivaldes1)

    I manually downloaded from within RSSSL generated when presented with them and manually placed them in the file system at /pathtowebsite/stringofnumbers/ssl cert and keys.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Just putting the files there isn’t enough. The certificate still has to be installed on your server. If you don’t have shell functionality you’ll need to do this manually.

    Thread Starter ivaldes1

    (@ivaldes1)

    Thank you for the reply and assistance. It has been some years since I have done that kind of thing. I am familiar with bash. Is there a guide to how to formally install them in a way that wordpress recognizes them on the server since just placing them in the file system is not sufficient?

    Plugin Author Mark

    (@markwolters)

    You’d have to locate the following lines in your Apache configuration file and add the path to the certificates accordingly:

    SSLCertificateFile /etc/pki/tls/certs/server.crt
    SSLCertificateKeyFile /etc/pki/tls/private/server.key

    For detailed instructions see https://www.how2shout.com/linux/install-mod_ssl-on-almalinux-8-rocky-linux-8-for-httpd-apache-webserver/.

    Plugin Author Mark

    (@markwolters)

    Hi @ivaldes1,

    did the above suggestion resolve your issue?

    Thread Starter ivaldes1

    (@ivaldes1)

    Maybe. My Centos 7 server has a known, complicated issue with Grub2 which causes it to wreck the rpm database on update so I have to resolve that first for it to install mod_ssl. If that doesn’t work I have to migrate everything to a new server. I expect some resolution this week.

    Thread Starter ivaldes1

    (@ivaldes1)

    Thank you for your help. The Grub2 issue is resolved, it turned out to be a not enough memory issue. The server has been upsized to 2 Gb of RAM. I have mod_ssl installed for httpd. So now I have certificates in for /var/www/html/pathtowebsite/stringofnumbersgenerated by RSSSL/certs and keys but it still isn’t finding the certs.

    ssl.conf points to
    SSLCertificateFile /etc/pki/tls/certs/localhost.crt
    SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
    and those files exist.

    I am still getting ‘No SSL certificate has been detected yet. In some cases this takes a few minutes.’ from RSSSL

    Plugin Author Mark

    (@markwolters)

    Hi @ivaldes1,

    your site still doesn’t use the correct SSL certificate. You could try to copy over the certificates generated by Really Simple SSL (in the root ssl/keys directory) over to the /certs/ and /private/ folders where you ssl.conf points.

    Thread Starter ivaldes1

    (@ivaldes1)

    I copied the certificates to the proper location. From the manual check link https://www.ssllabs.com/ssltest/analyze.html?d=http://thewebsiteinquestion I am getting Certificate name mismatch

    Plugin Author Mark

    (@markwolters)

    Hi @ivaldes1,

    this indicates an incorrect certificate is still in use. We recommend to double check the validity and path of your SSL certificate.

    Thread Starter ivaldes1

    (@ivaldes1)

    It worked this time! Many thanks for the pointer. By copy/paste directly from the wizard dialog box and not copying the files that where on the filesystem.

    This might be spurious because the files are in /etc/pki/tls but I chmod the files to 644 and 600 but am still getting ‘Your Key and Certificate directories are not properly protected.’

    I would like to employ the auto-update certificate feature so that my websites don’t go south periodically. Is it possible with my configuration? If so, is there an easy way or do I have to get down and dirty with cron, etc?

    Finally, maybe a dumb question and the answer is probably yes but can I use the same certificate and key files for multiple wordpress sites on the same server?

    I really appreciate the assistance.

    Thread Starter ivaldes1

    (@ivaldes1)

    I notice that the directory and files created haven’t seemed to update since Jan 8 so it would seem that the RSSSL dialog box does not refresh this?

    /var/www/html/thewebsiteinquestion/614stringofnumbers61/ssl/certs

    -r–r–r–. 1 apache apache 2240 Jan 8 19:14 certificate.cert

    Thread Starter ivaldes1

    (@ivaldes1)

    I spoke too soon. Website is now down. I had changed WP_HOME and WP_SITEURL added s to https://thewebsiteinquestion and now I get the apache test page and no website. I changed wp-config back to http:// no s and I get apache test page. I took the /etc/httpd/conf.d/thewebsiteinquestion.conf offline restarted httpd then tried to access http://<ipaddress>/thewebsiteinquestioncorrectsubdirectory and it is saying not found. thewebsiteinquestion has been running for years. How can I get it back or make https work? It should, it just isn’t. /var/log/httpd/thewebsiteinquestion access and error is not showing anything.

    Thread Starter ivaldes1

    (@ivaldes1)

    /etc/httpd/conf.d/thewebsiteinquestion.conf file which hasn’t changed looks fine to me. This is perplexing.

    <VirtualHost *:80>
    ServerName thewebsiteinquestion.net
    ServerAlias http://www.thewebsiteinquestion.net
    DocumentRoot /var/www/html/thewebsiteinquestion
    ServerAdmin [email protected]
    ErrorLog logs/thewebsiteinquestion.net-error_log
    TransferLog logs/thewebsiteinquestion.net-access_log
    </VirtualHost>

Viewing 15 replies - 1 through 15 (of 23 total)

The topic ‘SSL certificate not detected.’ is closed to new replies.