Solved

Apache server SSL invalid certificate error on valid cert

Posted on 2014-12-16
9
209 Views
Last Modified: 2015-05-28
I installed an SSL certificate on an Apache web server, running on Ubuntu 14.04, approximately 3 months ago.  The certificate was purchased through Digicert and is valid through 2017.  However, about a week ago the site started displaying an error message, saying the certificate was invalid.  I restarted Apache and that seemed to solve the problem.  But just yesterday the error returned. I restarted Apache a 2nd time and again, everything is working fine. But now I'm concerned that rebooting is just a temporary solution.
0
Comment
Question by:kmgish
  • 4
  • 3
  • 2
9 Comments
 
LVL 3

Assisted Solution

by:vipelite
vipelite earned 500 total points
ID: 40503888
Contact DigiCert. and make sure you have all root files installed on your server.
0
 

Author Comment

by:kmgish
ID: 40503907
By root files, do you mean the applicable crt, csr and key files?  If so, they are installed.  The certificate is currently working fine.  If they weren't installed correctly, wouldn't it not work at all?
0
 
LVL 3

Expert Comment

by:vipelite
ID: 40503919
Let's hope that is the case. Next time you get error you should take some captures from the server and see exactly what's going on before restarting and could be another issue that's causing it to break like a network issue.
0
 

Author Comment

by:kmgish
ID: 40503951
Yeah, about 3 seconds after I restarted the second time, I realized I should have tried to do some better detective work, but I had people breathing down my neck to get things working again.  And unfortunately, the server runs the company's intranet, that lives behind a firewall, so I can't share any links, or anything like that.

Do you know of any specific log files I should be looking at?  I've looked at error.log and error_ssl.log, but I don't see anything out of the ordinary in either of those.

Thanks for your help, BTW.
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 61

Expert Comment

by:gheist
ID: 40504227
You can check with qualys ssl server test what is wrong: https://www.ssllabs.com/ssltest/
Namely SHA1 certificates get marked as bad in browsers recently, not to mention that SSLv3 disablement is just a matter of weeks.
Or share your SSL domain name, i will run same test and share observations.
0
 

Author Comment

by:kmgish
ID: 40505296
Hi gheist,

Thanks for your response. Unfortunately, I can't run those tests or share the link, since this is an intranet site, behind a firewall.  But I can tell you that the cert doesn't support SSLv3 or SHA1.  It was keyed just 3 months ago.

I was just curious if anyone here had ever experienced an SSL cert that was working fine for months and then all of a sudden stopped working, where a reboot seemingly fixed the problem.
0
 
LVL 3

Accepted Solution

by:
vipelite earned 500 total points
ID: 40505946
Have you checked internally for any Hostname/DNS changes could possibly be one. DNS may have refreshed a change and server didn't like it. I don't know throwing things out there. Especially if you're not seeing any errors on the actual server. Also, when you say behind a FW is it behind a DMZ or is it only accessible via internal network?
0
 

Author Comment

by:kmgish
ID: 40506004
vipelite,  Thanks, I appreciate any ideas, thrown or otherwise.

I'll check with our lead network administrator to see if there's been any DNS changes that might be the culprit.  To answer your question, the site is only accessible via an internal network.
0
 
LVL 61

Expert Comment

by:gheist
ID: 40506447
I assume you changed certificate and did not change certificate chain.
Since you dont share the link I have no way to guess which certificate chain you need.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now