Problem with verisign cert

    Date: 06/28/07 (Apache)    Keywords: browser, apache

    We bought a certificate for a domain.   I've set up a few sites with ssl before this, so I was careful to enter the FQDN in my csr request.  A day later Verisign sent the cert in an email, which we copied into a sitename.crt file on the server.   I made an unecrypted version of the key so I wouldn't have to enter the passphrase every time Apache starts.  (yes I entered the passphrase, which was accepted)

    So - I start the server without errors.  When I access the site using https://sitename, the browser returns a certificate mismatch error.   The cert details appear with localhost, localdomain, ect, which is not what I entered when creating the csr & key. 


        ServerName sitename.department.domain.ext
        ServerAdmin abc@123.def
        DocumentRoot /www/virtualhosts/sitename
        ErrorLog /var/log/httpd/sitename-error_log
        CustomLog /var/log/httpd/sitename-access_log common
        SSLEngine On
        SSLCertificateFile /usr/local/ssl/crt/sitename.crt
        SSLCertificateKeyFile /usr/local/ssl/crt/sitename_unencrypted.key
        SSLCACertificateFile /usr/local/ssl/crt/intermediate.crt



    Is there a way to print out the details listed in a crt file, from command line?   Can I do the same with the original csr file?  

    Source: https://apache.livejournal.com/38398.html

« Newb question about Struts2... || "You don't have... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home