Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 22nd, 2012, 09:08 PM
MDTech.us_MAN MDTech.us_MAN is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 5 MDTech.us_MAN User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 11 m 15 sec
Reputation Power: 0
Apache SSL mirror problems!

Hello All!

My website (http://www.MDTech.us) now has a SSL VPS mirror! Everything is finally set up! But, when I tried opening the mirror (https://mirror2.MDTech.us) using Firefox 14.0.1, first, it said that it was just partially encrypted. Now, after I created a new profile, Firefox says that "The certificate is not trusted because no issuer chain was provided."! Here is the full message:



Also, the web server is :
Code:
Apache/2.2.22 (Debian) Server at mirror2.mdtech.us Port 443

Reply With Quote
  #2  
Old August 22nd, 2012, 09:38 PM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Lost in code
Click here for more information.
 
Join Date: Dec 2004
Posts: 7,939 E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 2 Months 9 h 12 m 42 sec
Reputation Power: 7053
Quote:
first, it said that it was just partially encrypted

This is a coding problem; it means you have some resource (image, css, javascript, etc.) on the page that is referenced over http instead of https. Do a view source on your page and search for "http://", I see many scripts and css files that are causing this issue for you.

Quote:
Now, after I created a new profile, Firefox says that "The certificate is not trusted because no issuer chain was provided."!

This is probably an Apache configuration error. Did you install an intermediate CA bundle when you configured the certificate? If not, you will need to download this from the company you bought your certificate from and install it on the server. Note that I don't actually see this error when I visit your site, however that is likely because some other website has already installed the intermediate CA on my browser.
__________________
PHP FAQ
How to program a basic, secure login system using PHP

Quote:
Originally Posted by Spad
Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

Last edited by E-Oreo : August 22nd, 2012 at 09:41 PM.

Reply With Quote
  #3  
Old August 22nd, 2012, 10:36 PM
MDTech.us_MAN MDTech.us_MAN is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 5 MDTech.us_MAN User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 11 m 15 sec
Reputation Power: 0
Quote:
Originally Posted by E-Oreo
This is a coding problem; it means you have some resource (image, css, javascript, etc.) on the page that is referenced over http instead of https. Do a view source on your page and search for "http://", I see many scripts and css files that are causing this issue for you.


This is probably an Apache configuration error. Did you install an intermediate CA bundle when you configured the certificate? If not, you will need to download this from the company you bought your certificate from and install it on the server. Note that I don't actually see this error when I visit your site, however that is likely because some other website has already installed the intermediate CA on my browser.


I typed in the location of the *.key and *.pem files in the config files. Here is the *.PEM file:
http://mdtfiles. 3owl. com/download. php?file=824ssl.pem
(remove the extra spaces)

And the *.crt (same as *.cer I think):
http://mdtfiles. 3owl. com/download. php?file=150ssl.crt
(remove the extra spaces)

Reply With Quote
  #4  
Old August 23rd, 2012, 09:53 PM
MDTech.us_MAN MDTech.us_MAN is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 5 MDTech.us_MAN User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 11 m 15 sec
Reputation Power: 0
Please reply

Reply With Quote
  #5  
Old August 24th, 2012, 12:26 AM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Lost in code
Click here for more information.
 
Join Date: Dec 2004
Posts: 7,939 E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 2 Months 9 h 12 m 42 sec
Reputation Power: 7053
Your download links don't work for me. However, in addition to the SSLCertificateFile and SSLCertificateKeyFile directives, you should also have one called SSLCACertificateFile that points to the CA bundle provided by your certificate signer.

My guess is that the contents should look something like this:
Code:
-----BEGIN CERTI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vu3Un
0q6Dp6jOW6c=
-----END CERTIFICATE-----

But again, contact your certificate signer to obtain the actual CA bundle.

Reply With Quote
  #6  
Old August 25th, 2012, 09:18 AM
MDTech.us_MAN MDTech.us_MAN is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 5 MDTech.us_MAN User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 11 m 15 sec
Reputation Power: 0
Quote:
Originally Posted by E-Oreo
Your download links don't work for me. However, in addition to the SSLCertificateFile and SSLCertificateKeyFile directives, you should also have one called SSLCACertificateFile that points to the CA bundle provided by your certificate signer.

My guess is that the contents should look something like this:
Code:
-----BEGIN CERTIFICATE-----
MIIGNDCCBBygAwIBAgIBGDANBgkqhkiG9w0BAQUFADB9MQswCQYDVQQGEwJJTDEW
MBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwg
Q2VydGlmaWNhdGUgU2lnbmluZzEpMCcGA1UEAxMgU3RhcnRDb20gQ2VydGlmaWNh
dGlvbiBBdXRob3JpdHkwHhcNMDcxMDI0MjA1NDE3WhcNMTcxMDI0
...
-----END CERTIFICATE-----

But again, contact your certificate signer to obtain the actual CA bundle.


I finally found it (actually 'them') 2 CA certificates.

Here is their location: (first 2 files)
http://www.startssl.com/certs/

One is a x509 Certificate (DER) ca-bundle.crt file and the other is a x509 Certificate (PEM) ca-bundle.pem file. Which one should I use?

Reply With Quote
  #7  
Old August 25th, 2012, 10:01 AM
MDTech.us_MAN MDTech.us_MAN is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 5 MDTech.us_MAN User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 11 m 15 sec
Reputation Power: 0
Quote:
Originally Posted by MDTech.us_MAN
I finally found it (actually 'them') 2 CA certificates.

Here is their location: (first 2 files)
http://www.startssl.com/certs/

One is a x509 Certificate (DER) ca-bundle.crt file and the other is a x509 Certificate (PEM) ca-bundle.pem file. Which one should I use?


I tried both but when I tried ether, I get:
Code:
mirror2.mdtech.us uses an invalid security certificate.

The certificate is not trusted because the issuer certificate is not trusted.

(Error code: sec_error_untrusted_issuer)


P.S. Is it possible to just use a simple PFX file in apache like I used in IIS?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Apache SSL mirror problems!

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap