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 07-08-2007, 06:00 AM   #1
mesh2005
Member
 
Registered: Sep 2005
Location: Ägypten
Distribution: Ubuntu 5.10
Posts: 155

Rep: Reputation: 30
Unhappy HTTPS returns error code -12263


I followed the article:
https://help.ubuntu.com/community/fo...er/apache2/SSL to configure my APACHE + SSL. Now I'm getting the following error message when requesting any page through HTTPS:
<domain name> has sent an incorrect or unexpected message (error code -12263)
I'm using Apache 2.0, PHP 4 and Ubuntu 6.06 .Please help.
 
Old 07-09-2007, 12:48 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
I think you have not switched your SSLEngine on.

Code:
#   SSL Engine Switch:
SSLEngine on
I've added the above line for each virtual host that needs SSL. Not sure where to find it for apache2.
 
Old 07-10-2007, 09:18 AM   #3
Asymmetry
LQ Newbie
 
Registered: Jan 2007
Location: Oklahoma, US
Distribution: Debian
Posts: 13

Rep: Reputation: 0
I set the error reporting level to debug for the server's SSL site, and this is the related startup and access except from error.log:

[Tue Jul 10 09:16:10 2007] [info] Loading certificate & private key of SSL-aware server
[Tue Jul 10 09:16:10 2007] [debug] ssl_engine_pphrase.c(469): unencrypted RSA private key - pass phrase not required
[Tue Jul 10 09:16:10 2007] [info] Configuring server for SSL protocol
[Tue Jul 10 09:16:10 2007] [debug] ssl_engine_init.c(405): Creating new SSL context (protocols: SSLv2, SSLv3, TLSv1)
[Tue Jul 10 09:16:10 2007] [debug] ssl_engine_init.c(538): Configuring client authentication
[Tue Jul 10 09:16:10 2007] [debug] ssl_engine_init.c(1113): CA certificate: Certificate Data
[Tue Jul 10 09:16:10 2007] [debug] ssl_engine_init.c(729): Configuring RSA server certificate
[Tue Jul 10 09:16:10 2007] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Jul 10 09:16:10 2007] [debug] ssl_engine_init.c(768): Configuring RSA server private key
[Tue Jul 10 09:16:10 2007] [info] Loading certificate & private key of SSL-aware server
[Tue Jul 10 09:16:10 2007] [debug] ssl_engine_pphrase.c(469): unencrypted RSA private key - pass phrase not required
[Tue Jul 10 09:16:10 2007] [info] Configuring server for SSL protocol
[Tue Jul 10 09:16:10 2007] [debug] ssl_engine_init.c(405): Creating new SSL context (protocols: SSLv2, SSLv3, TLSv1)
[Tue Jul 10 09:16:10 2007] [debug] ssl_engine_init.c(538): Configuring client authentication
[Tue Jul 10 09:16:10 2007] [debug] ssl_engine_init.c(1113): CA certificate: Certificate Data
[Tue Jul 10 09:16:10 2007] [debug] ssl_engine_init.c(729): Configuring RSA server certificate
[Tue Jul 10 09:16:10 2007] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Jul 10 09:16:10 2007] [debug] ssl_engine_init.c(768): Configuring RSA server private key
[Tue Jul 10 09:16:10 2007] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch7 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations
[Tue Jul 10 09:16:11 2007] [info] [client 137.240.136.80] Connection to child 0 established (server sirius.localhost:443)
[Tue Jul 10 09:16:11 2007] [info] Seeding PRNG with 656 bytes of entropy
[Tue Jul 10 09:16:11 2007] [debug] ssl_engine_kernel.c(1752): OpenSSL: Handshake: start
[Tue Jul 10 09:16:11 2007] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: before/accept initialization
[Tue Jul 10 09:16:11 2007] [debug] ssl_engine_io.c(1786): OpenSSL: I/O error, 11 bytes expected to read on BIO#8983a0 [mem: 89fa70]
[Tue Jul 10 09:16:11 2007] [debug] ssl_engine_kernel.c(1789): OpenSSL: Exit: error in SSLv2/v3 read client hello A
[Tue Jul 10 09:16:11 2007] [info] [client 137.240.136.80] (70014)End of file found: SSL handshake interrupted by system [Hint: Stop button pressed in browser?!]
[Tue Jul 10 09:16:11 2007] [info] [client 137.240.136.80] Connection closed to child 0 with abortive shutdown (server sirius.localhost:443)

Does this help?
 
Old 07-10-2007, 11:52 AM   #4
p_s_shah
Member
 
Registered: Mar 2005
Location: India
Distribution: RHEL 3/4, Solaris 8/9/10, Fedora 4/8, Redhat Linux 9
Posts: 237
Blog Entries: 1

Rep: Reputation: 34
Post following for troubleshooting:
1./etc/hosts file.
2.Output of hostname commnad.
3.Site specific apache configuration from apache configuration file[<virtualhost> block].
 
  


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
K3B - cdrecord returns unknown error (code 22) AlanSecker Linux - Software 2 07-11-2014 08:34 PM
TFTP server returns "Error Code 0: Permission Denied" gi99 Linux - Networking 2 04-19-2011 06:17 AM
SWIG wrap.c file returns error: struct_vector_wrap.c:2413: error: dereferencing point varun_shrivastava Programming 0 05-25-2007 04:47 AM
JAVA https error linuxqa Linux - General 1 03-22-2006 01:42 PM
XConfigurator returns error yodathecoda Linux - Newbie 2 08-09-2004 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:29 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration