Subject: OpenSSL - errors creating certificate.
To: None <tech-pkg@netbsd.org>
From: Nate Hill <vugdeox@freeshell.org>
List: tech-pkg
Date: 07/02/2003 22:47:07
--Boundary-00=_7c6A/UHBB199lIu
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Okay, while trying to setup mod_ssl at 06:00 at night...
I found this command via google and it looks sane:
openssl req -new -x509 -days 365 -key server.key -out server.crt
I used the previous command in how-to and succesfully created a key however, I
get strange errors when trying the previoud command. Errors are attached do
to word-wrapping.
--
Nate Hill <vugdeox@freeshell.org>
--Boundary-00=_7c6A/UHBB199lIu
Content-Type: text/plain;
charset="us-ascii";
name="errs-ssl.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="errs-ssl.txt"
[root@vug.ath.cx /usr/pkg/etc/httpd] openssl req -new -x509 -days 365 -key server.key -out server.crt
Using configuration from /etc/openssl/openssl.cnf
Unable to load config info
Enter PEM pass phrase:
unable to find 'distinguished_name' in config
problems making Certificate Request
25883:error:0E06D06A:configuration file routines:NCONF_get_string:no conf or environment variable:/autobuild/netbsd-1-6/src/lib/libcrypto/../../crypto/dist/openssl/crypto/conf/conf_lib.c:343:
25883:error:0E06D06A:configuration file routines:NCONF_get_string:no conf or environment variable:/autobuild/netbsd-1-6/src/lib/libcrypto/../../crypto/dist/openssl/crypto/conf/conf_lib.c:343:
25883:error:0E06D06A:configuration file routines:NCONF_get_string:no conf or environment variable:/autobuild/netbsd-1-6/src/lib/libcrypto/../../crypto/dist/openssl/crypto/conf/conf_lib.c:343:
25883:error:0E06D06A:configuration file routines:NCONF_get_string:no conf or environment variable:/autobuild/netbsd-1-6/src/lib/libcrypto/../../crypto/dist/openssl/crypto/conf/conf_lib.c:343:
25883:error:0E06D06A:configuration file routines:NCONF_get_string:no conf or environment variable:/autobuild/netbsd-1-6/src/lib/libcrypto/../../crypto/dist/openssl/crypto/conf/conf_lib.c:343:
25883:error:0E06D06A:configuration file routines:NCONF_get_string:no conf or environment variable:/autobuild/netbsd-1-6/src/lib/libcrypto/../../crypto/dist/openssl/crypto/conf/conf_lib.c:343:
25883:error:0E06D06A:configuration file routines:NCONF_get_string:no conf or environment variable:/autobuild/netbsd-1-6/src/lib/libcrypto/../../crypto/dist/openssl/crypto/conf/conf_lib.c:343:
25883:error:0E06D06A:configuration file routines:NCONF_get_string:no conf or environment variable:/autobuild/netbsd-1-6/src/lib/libcrypto/../../crypto/dist/openssl/crypto/conf/conf_lib.c:343:
25883:error:0E06D06A:configuration file routines:NCONF_get_string:no conf or environment variable:/autobuild/netbsd-1-6/src/lib/libcrypto/../../crypto/dist/openssl/crypto/conf/conf_lib.c:343:
[root@vug.ath.cx /usr/pkg/etc/httpd]
--Boundary-00=_7c6A/UHBB199lIu--