OpenSSL - errors creating certificate.

Nate Hill <[email protected]>
Newsgroups gmane.os.netbsd.devel.crypto,gmane.os.netbsd.devel.packages,gmane.os.netbsd.general
Message-ID <[email protected]>
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 <[email protected]>
errs-ssl.txt (text/plain, 2 KB)
[[email protected] /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:
[[email protected] /usr/pkg/etc/httpd]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.