OpenSSL
Пользователи, просматривающие топик: none
|
Зашли как: Guest
|
Имя |
Сообщение |
<< Старые топики Новые топики >> |
|
|
OpenSSL - 2009-08-27 15:52:10.950000
|
|
|
gloomen1
Сообщений: 89
Оценки: 0
Присоединился: 2009-06-27 12:58:33.100000
|
Всем привет! Помогите пожалуйста разобраться, при создании сертификата возникает ошибка… root# mkdir /etc/ssl/sslcert root# cd /etc/ssl/sslcert root# openssl req -new -newkey rsa:4096 -nodes -keyout /etc/ssl/sslcert/ca.key -x509 -days 365 \ -subj /C=RU/ST=Russia/L=Moscow/O=Internet/OU=Internet/CN=localhost/emailAddress=gmail.com@gmail.com -out /etc/ssl/sslcert/ca.crt
Unable to load config info
Generating a 4096 bit RSA private key
.........................................++
.....................++
writing new private key to '/etc/ssl/sslcert/ca.key'
-----
unable to find 'distinguished_name' in config
problems making Certificate Request
1888:error:0E06D06A:configuration file routines:NCONF_get_string:no conf or environment variable:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/conf/conf_lib.c:325:
root# openssl version OpenSSL 0.9.7e-p1 25 Oct 2004 root# uname -a FreeBSD 6.4-RELEASE root# portsnap update Ports tree is already up to date. root# cd /usr/ports/security/openssl root# make install clean
===> openssl-0.9.8k_3 is marked as broken: No patchset for 0.9.8.
*** Error code 1
Stop in /usr/ports/security/openssl.
|
|
|
RE: OpenSSL - 2009-08-27 19:26:34.210000
|
|
|
blonx
Сообщений: 1150
Оценки: 0
Присоединился: 2006-04-01 03:28:42
|
Не уверен, но по-моему ругается на отсутствие libcrypt
|
|
|
RE: OpenSSL - 2009-08-27 20:42:56.140000
|
|
|
rgo
Сообщений: 7170
Оценки: 281
Присоединился: 2004-09-25 05:14:25
|
quote:
Unable to load config info
...
unable to find 'distinguished_name' in config
...
1888:error:0E06D06A:configuration file routines:NCONF_get_string:no conf or environment variable:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/conf/conf_lib.c:325: Конфига нету. Найти его не удаётся, и в переменных окружения тоже нету необходимой инфы. А именно: sslcert хочет знать какое distinguished_name использовать. ps. почему бздя не хочет обновлять openssl и при этом ругается на то, что он необновлён – этого я не знаю. с этими вопросами к знатокам бзди. или погугли строчку "openssl-0.9.8k_3 is marked as broken: No patchset for 0.9.8".
|
|
|
|
|