LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 11-21-2013, 10:28 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,129

Rep: Reputation: 30
https certication error , the page can not be loaded via https


I have just setup a ssl cert in my server , the cert (view cert) is as below .

View cert
==========

Issused to : *.xxx.com

My apache config file is as below.
===================================
<VirtualHost *:443>
ServerName abc.xxx.com
DocumentRoot
SSLEngine on
SSLCertificateFile
SSLCertificateKeyFile
SSLCertificateChainFile
</VirtualHost>

but when I use https to access the web page , it pops the below error in error log
===================================================================================
[warn] RSA server certificate CommonName (CN) `*.xxx.com' does NOT match server name!?


the https is crossed by red line .

I am wonder the cert is wildcard , the servername (abc.xxx.com) in virtualhost is matched with this wildcard , why still pop me the server name is not match ? how to fix it ? thanks
 
Old 11-21-2013, 11:02 AM   #2
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,622
Blog Entries: 1

Rep: Reputation: Disabled
missing entries for
Code:
SSLCertificateFile
SSLCertificateKeyFile
SSLCertificateChainFile
Code:
SSLCertificateFile /etc/pki/tls/certs/domain.crt
SSLCertificateKeyFile  /etc/pki/tls/private/domain.key
SSLCertificateChainFile /etc/pki/tls/certs/ca-domain.crt
are sanitized examples of a working ssl host.
 
Old 11-21-2013, 09:49 PM   #3
byran cheung
Member
 
Registered: Sep 2013
Posts: 217

Rep: Reputation: Disabled
Quote:
Originally Posted by Habitual View Post
missing entries for
Code:
SSLCertificateFile
SSLCertificateKeyFile
SSLCertificateChainFile
Code:
SSLCertificateFile /etc/pki/tls/certs/domain.crt
SSLCertificateKeyFile  /etc/pki/tls/private/domain.key
SSLCertificateChainFile /etc/pki/tls/certs/ca-domain.crt
are sanitized examples of a working ssl host.
thx reply ,

in my previous post , I just do not show the key name only , I sure I have point to the right cert and key , but still not work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] apache https page issue DD554 Linux - Server 5 01-09-2011 04:36 AM
[SOLVED] Using curl to log in to https page. Chris_no Linux - General 3 09-03-2009 04:50 PM
after moving web site to new server - certificate error loading https page jayunplugged Linux - General 3 03-06-2008 01:00 PM
accessing https page problem mr_empty Linux - Networking 3 12-07-2006 01:01 PM
accessing https page problem mr_empty Linux - Server 1 12-06-2006 12:18 PM


All times are GMT -5. The time now is 09:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration