You point mod_ssl to your private key in httpd.conf? Just sounds like it cannot
read that file.
|--------+------------------------->
| | Anthony |
| | <anthony@citico|
| | mp.com.au> |
| | |
| | 12/12/2000 |
| | 07:05 |
| | Please respond |
| | to modssl-users|
| | |
|--------+------------------------->
>----------------------------------------------------------------------------|
| |
| To: [EMAIL PROTECTED] |
| cc: (bcc: Tim Power/LON/GB/Reuters) |
| Subject: Can't start Apache-SSL again |
| Header: Internal Use Only |
>----------------------------------------------------------------------------|
Hello master,
i'm one of the web developers from Austraila.
i installed Apache + SSL in my Linux server and is working
fine. After read your official site document, i am trying to create a real SSL
server certificate,
i used the following script to create server.csr
$ openssl genrsa -des3 -out server.key 1024
$ openssl req -new -key server.key -out server.csr
then, create server.crt by using
$ cp server.key ca.key
$ openssl req -new -x509 -days 365 -key ca.key -out ca.crt
$ ./sign.sh server.csr
all steps above were done without error
However, when i restart my apache server, the process was hang
and i found the following error message from log file
11/Dec/2000 13:42:26 01166] [info] Server: Apache/1.3.12, Interface:
mod_ssl/2.6.6, Library: OpenSSL/0.9.5a
[11/Dec/2000 13:42:26 01166] [info] Init: 1st startup round (still not detached)
[11/Dec/2000 13:42:26 01166] [info] Init: Initializing OpenSSL library
[11/Dec/2000 13:42:26 01166] [info] Init: Loading certificate & private key of
SSL-aware server localhost:443
[11/Dec/2000 13:42:26 01166] [info] Init: Requesting pass phrase via builtin
terminal dialog
[11/Dec/2000 13:43:04 01166] [error] Init: Private key not found (OpenSSL
library error follows)
[11/Dec/2000 13:43:04 01166] [error] OpenSSL: error:0D084069:asn1 encoding
routines:d2i_ASN1_SET:bad tag
[11/Dec/2000 13:43:04 01166] [error] OpenSSL: error:0D09D082:asn1 encoding
routines:d2i_RSAPrivateKey:parsing
[11/Dec/2000 13:43:04 01166] [error] OpenSSL: error:0D09B00D:asn1 encoding
routines:d2i_PrivateKey:ASN1 lib
Can you find tell me how the solve the problem i am facing, and i don't want to
pay for the certificate..
Thanks your reply
-----------------------------------------------------------------
Visit our Internet site at http://www.reuters.com
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of Reuters Ltd.
|
Hello master,
i'm one of the web developers from
Austraila.
i installed Apache + SSL in my Linux server and is
working
fine. After read your official site document, i am
trying to create a real SSL server certificate,
i used the following script to create
server.csr
$ openssl genrsa -des3 -out
server.key 1024
$ openssl req -new -key server.key
-out server.csr
then, create server.crt by
using
$ cp server.key ca.key
$ openssl req -new -x509 -days 365 -key
ca.key -out ca.crt
$ ./sign.sh server.csr
all steps above were done without
error
However, when i restart my apache server,
the process was hang
and i found the following error message
from log file
11/Dec/2000 13:42:26 01166] [info] Server: Apache/1.3.12, Interface: mod_ssl/2.6.6, Library: OpenSSL/0.9.5a [11/Dec/2000 13:42:26 01166] [info] Init: 1st startup round (still not detached) [11/Dec/2000 13:42:26 01166] [info] Init: Initializing OpenSSL library [11/Dec/2000 13:42:26 01166] [info] Init: Loading certificate & private key of SSL-aware server localhost:443 [11/Dec/2000 13:42:26 01166] [info] Init: Requesting pass phrase via builtin terminal dialog [11/Dec/2000 13:43:04 01166] [error] Init: Private key not found (OpenSSL library error follows) [11/Dec/2000 13:43:04 01166] [error] OpenSSL: error:0D084069:asn1 encoding routines:d2i_ASN1_SET:bad tag [11/Dec/2000 13:43:04 01166] [error] OpenSSL: error:0D09D082:asn1 encoding routines:d2i_RSAPrivateKey:parsing [11/Dec/2000 13:43:04 01166] [error] OpenSSL: error:0D09B00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib
Can you find tell me how the solve the problem i am facing, and i don't want to pay for the certificate.. Thanks your reply |
