Solved

Apache server SSL invalid certificate error on valid cert

Posted on 2014-12-16
9
210 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

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
 
LVL 62

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 62

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
#SSL #TLS #Citrix #HTTPS #PKI #Compliance #Certificate #Encryption #StoreFront #Web Interface #Citrix XenApp
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

777 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