Home > Unable To > Apache Error Init Unable To Read Server Certificate From File

Apache Error Init Unable To Read Server Certificate From File


Browse other questions tagged apache-2.2 ssl openssl or ask your own question. If you recreate a self signed ssl cert, then you have to sign it again at startssl to get a new signed ssl cert. If each line ends with a control-M, like this -----BEGIN CERTIFICATE-----^M MIIDITCCAoqgAwIBAgIQL9+89q6RUm0PmqPfQDQ+mjANBgkqhkiG9w0BAQUFADBM^M MQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkg^M THRkLjEWMBQGA1UEAxMNVGhhd3RlIFNHQyBDQTAeFw0wOTEyMTgwMDAwMDBaFw0x^M you've got a file in Windows line-terminated format, and apache doesn't love those. share|improve this answer answered Feb 14 '15 at 14:37 cristi 679718 add a comment| up vote 2 down vote Situation: Apache 2.4 using the StartSSL cert generating ASN encoding error Issue: his comment is here

This is done with the following steps. 1. That way if the link is ever taken down, goes missing, etc the information is still preserved in this answer. –Chris Aug 6 '13 at 21:23 add a comment| up vote Can you find me? The following error can be observed in /var/log/httpd/error_log [Thu Feb 20 01:29:50 2014] [error] Init: Unable to read server certificate from file /usr/local/psa/var/certificates/certcl3mSZ4 [Thu Feb 20 01:29:50 2014] [error] SSL Library

Ah02241: Init: Unable To Read Server Certificate From File

Thanks. Make sure that line reads:SSLCertificateFile /etc/pki/tls/certs/ca.crtNow look for the SSLCertificateKeyFile and make sure that section reads:SSLCertificateKeyFile /etc/pki/tls/private/ca.keySave that file and you are ready to restart Apache.Restart and test==================================================The websties are setup more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Is this safe to display MySQL query error in webpage if something went wrong?

Register New Posts Advertising Contact Us Advertise Privacy Statement Terms of Service Sitemap Top Hosting and Cloud Web Hosting Talk HostingCon WHIR Hosting Catalog Hottest Hosts Data Centers Data Center Knowledge New to this, but I've just got it working, the formatting from the email I receieved was off, couldn't thank you guys enough! –williamsowen Sep 30 '11 at 11:33 add a Dennis numbers 2.0 Least Common Multiple How can I obtain 12v dc, 3.3v dc and 5v dc from a single 5v Li-ion battery? Ah01895: Unable To Configure Verify Locations For Client Authentication Open Source Communities Comments Helpful Follow Why does Httpd fail with "[error] Init: Unable to read server certificate from file" after installing SSL certificate?

share|improve this answer answered Jul 16 '13 at 10:46 Adrian Macneil 646168 1 Just did the same mistake, thanks for pointing me to the solution :-) –rcomblen Jan 7 '14 Error:0d0680a8:asn1 Encoding Routines:asn1_check_tlen:wrong Tag Generate the csr with the command openssl req -new -key ca.key -out ca.csr. 5. Please be informed that Plesk Panel does not change certificates automatically; additionally it prevents incorrect certificates be uploaded via Plesk Control Panel user interface. Why?

Divide the elements of one column with the corr element of another column Least Common Multiple Rosa Parks is a [symbol?] for the civil rights movement? Pem_read_bio_x509_aux Terms and Conditions Privacy Policy Impressum Sitemap Register Remember Me? It can be resolved by restarting apache completely which will ask for the passphrase and allow you to decrypt. You need to generate a private key, a csr, a self-signed key, and then you need to copy these files to the correct location.

Error:0d0680a8:asn1 Encoding Routines:asn1_check_tlen:wrong Tag

Must have been a copy/paste issue from the admin that placed the cert onto the server, with the text editor replacing -- with a special unicode character along the way. Register Now, or check out the Site Tour and find out everything Web Hosting Talk has to offer. Ah02241: Init: Unable To Read Server Certificate From File The error essentially tells you that one of the files, probably the key file has data that is not formatted for what the module expects. Openssl Expecting Trusted Certificate share|improve this answer answered Jul 11 '13 at 2:01 Haruna 1 add a comment| up vote 0 down vote Or you need before disable old password autoinput.

asked 3 years ago viewed 17668 times active 4 months ago Related 1SSL, Apache, and Subdomains on a Static IP1Apache 2.2 Open SSL wildcard21SSL Error - unable to read server certificate http://dis-lb.net/unable-to/apache-error-unable-to-configure-rsa-server-private-key.php How to revert back completely as withyout SSL Cert? Register If you are a new customer, register now for access to product evaluations and purchasing capabilities. Something got broke in the generation I guess. Init: Private Key Not Found

The reload itself will not throw any errors but it also will not ask for your passphrase and is unable to decrypt the certificate. Post back with an updated error/message if the issue remains. -Brendan share|improve this answer answered Nov 1 '12 at 15:28 bmurtagh 553413 I guess I should have mentioned that This answer encouraged me to open it up and see that. –flickerfly Feb 18 '14 at 19:31 Note to Windows users: You'll probably need to convert the line format weblink That given, would you consider attaching or posting the whole certificate here so we can look directly at it instead of having to guess? –MadHatter Sep 30 '11 at 11:30

Technical term to denote opposite of dependency injection? Nested Asn1 Error The requested method is not implemented by this server. " However, If try accesing my site locally thru my ip address it works! (https://192.#.#.#) Any ideas?? Why?


Open up a terminal window. 2. Need access to an account?If your company has an existing Red Hat account, your organization administrator can grant you access. Red Hat Account Number: Red Hat Account Account Details Newsletter and Contact Preferences User Management Account Maintenance Customer Portal My Profile Notifications Help For your security, if you’re on a public Openssl Convert Der To Pem Does Barack Obama have an active quora profile?

Web Hosting Talk Newsletters Subscribe Now & Get The WHT Quick Start Guide! By registering you'll gain: - Full Posting Privileges. - Access to Private Messaging. - Optional Email Notification. - Ability to Fully Participate. - And Much More. Intel and Cloudera Introduce Open Source Cybersecurity Project Apache Spot Report: Cybercriminals, Not State-Sponsored Actors, Likely Behind Yahoo Breach Social eCommerce Is Truly Exciting — And A Little Bit Scary Web http://dis-lb.net/unable-to/apache-error-unable-to-check-htaccess-file.php Means: recreate an SSL Cert with ISPConfig?

All Rights Reserved. The error resulted from the fact that my reference configuration presented these items in the opposite order. DOS2UNIX is not a Windows command, but a Linux one.