LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-18-2013, 07:45 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
can not use https


I have newly setup redhat web server - apache , php , I tried to use http , it works fine , but when use https , the browser link https is crossed by a red line , and the web page can not be loaded , I sure the ssl cert is correct , the error log show nothing , could advise what is the possible reason ? thanks
 
Old 11-18-2013, 08:12 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,334

Rep: Reputation: Disabled
Clicking on the SSL icon in the address line (the exact location depends on the browser being used) should provide further clues at to why the SSL/TLS connection fails. It could be as simple at the date/time settings on the client computer.

Are you using a self-signed certificate?
 
Old 11-18-2013, 08:46 AM   #3
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Ser Olmy View Post
Clicking on the SSL icon in the address line (the exact location depends on the browser being used) should provide further clues at to why the SSL/TLS connection fails. It could be as simple at the date/time settings on the client computer.

Are you using a self-signed certificate?
yes , self-signed certificate
 
Old 11-18-2013, 08:51 AM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,334

Rep: Reputation: Disabled
Well, there's your problem.

Most browsers choke on self-signed certificates. To view the page, you'll have to create an exception manually.
 
Old 11-18-2013, 08:53 AM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,636
Blog Entries: 4

Rep: Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933
Just walk through the error-logs (usually somewhere in /var/log, and study the error-messages that you will see there.

You need to ascertain why the connection is being refused, and by which party (client or server). "Self-signed" is a red-herring because your browser would be complaining ... asking if you want to accept it ... if you were actually getting that far, which you are not. Therefore, it will be something in your Apache config, and/or in the files and/or the permission-settings for those files [i](i.e., can Apache=nobody see/read them?). And, the error-logs will contain the necessary clue.
 
Old 11-18-2013, 09:38 AM   #6
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by sundialsvcs View Post
Just walk through the error-logs (usually somewhere in /var/log, and study the error-messages that you will see there.

You need to ascertain why the connection is being refused, and by which party (client or server). "Self-signed" is a red-herring because your browser would be complaining ... asking if you want to accept it ... if you were actually getting that far, which you are not. Therefore, it will be something in your Apache config, and/or in the files and/or the permission-settings for those files [i](i.e., can Apache=nobody see/read them?). And, the error-logs will contain the necessary clue.
I checked apache error_log , but do not show error , what logs else can check ? thanks
 
Old 11-18-2013, 04:37 PM   #7
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
When the warning comes up in your browser click on get certificate so that it can be added. Simple as that.
 
Old 11-18-2013, 10:03 PM   #8
byran cheung
Member
 
Registered: Sep 2013
Posts: 321

Rep: Reputation: Disabled
Quote:
Originally Posted by sundialsvcs View Post
Just walk through the error-logs (usually somewhere in /var/log, and study the error-messages that you will see there.

You need to ascertain why the connection is being refused, and by which party (client or server). "Self-signed" is a red-herring because your browser would be complaining ... asking if you want to accept it ... if you were actually getting that far, which you are not. Therefore, it will be something in your Apache config, and/or in the files and/or the permission-settings for those files [i](i.e., can Apache=nobody see/read them?). And, the error-logs will contain the necessary clue.
thx reply ,

which directive that I should change ? thanks
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
redirect https://www.domain.com to https://domain.com decenter Linux - Server 4 09-13-2011 10:05 AM
apache 2.0 https to https redirect struct Linux - Software 1 04-22-2011 05:43 PM
https Ammad Linux - Networking 3 04-20-2005 04:22 AM
https rocketgo Linux - Newbie 9 12-29-2003 08:25 PM
https Greg21 Slackware 2 06-20-2003 10:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:42 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
Open Source Consulting | Domain Registration