1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  1. xolod-ru

    xolod-ru New Member

    Messages:
    26
    Likes Received:
    0
    Hi All!
    Help please understand, when you create a certificate error ...

    Code:
    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.
    
     
  2. SirDice

    SirDice Moderator Staff Member Moderator

    Messages:
    17,359
    Likes Received:
    0
    http://www.openssl.org/docs/apps/req.html#DIAGNOSTICS
     
  3. xolod-ru

    xolod-ru New Member

    Messages:
    26
    Likes Received:
    0
    What other proposals?
     
  4. DutchDaemon

    DutchDaemon Administrator Staff Member Administrator Moderator

    Messages:
    10,622
    Likes Received:
    2
  5. xolod-ru

    xolod-ru New Member

    Messages:
    26
    Likes Received:
    0
    Thank DutchDaemon, works!