Maintained by: NLnet Labs

[Unbound-users] could not create unbound_control.pem

Hayward, Bruce
Fri Aug 13 14:16:37 CEST 2010


 

We are trying unbound on a couple of type of servers.  Currently on a
Sun Netra 240 running Solaris 10.

 

After configure/gmake.gmake install I see the below unknown option
-sha256, and in the end: ./unbound-control-setup fatal error: could not
create unbound_control.pem

 

:

root at wnpgmb024rw-ns05# ./unbound-control-setup

setup in directory /var/unbound

generating unbound_server.key

Generating RSA private key, 1536 bit long modulus

.....................++++

..................................................++++

e is 65537 (0x10001)

generating unbound_control.key

Generating RSA private key, 1536 bit long modulus

......................................................++++

....................++++

e is 65537 (0x10001)

create unbound_server.pem (self signed certificate)

create unbound_control.pem (signed client certificate)

unknown option -sha256

usage: x509 args

 -inform arg     - input format - default PEM (one of DER, NET or PEM)

 -outform arg    - output format - default PEM (one of DER, NET or PEM)

 -keyform arg    - private key format - default PEM

 -CAform arg     - CA format - default PEM

 -CAkeyform arg  - CA key format - default PEM

 -in arg         - input file - default stdin

 -out arg        - output file - default stdout

 -passin arg     - private key password source

 -serial         - print serial number value

 -hash           - print hash value

 -subject        - print subject DN

 -issuer         - print issuer DN

 -email          - print email address(es)

 -startdate      - notBefore field

 -enddate        - notAfter field

 -purpose        - print out certificate purposes

 -dates          - both Before and After dates

 -modulus        - print the RSA key modulus

 -pubkey         - output the public key

 -fingerprint    - print the certificate fingerprint

 -alias          - output certificate alias

 -noout          - no certificate output

 -ocspid         - print OCSP hash values for the subject name and
public key

 -trustout       - output a "trusted" certificate

 -clrtrust       - clear all trusted purposes

 -clrreject      - clear all rejected purposes

 -addtrust arg   - trust certificate for a given purpose

 -addreject arg  - reject certificate for a given purpose

 -setalias arg   - set certificate alias

 -days arg       - How long till expiry of a signed certificate - def 30
days

 -checkend arg   - check whether the cert expires in the next arg
seconds

                   exit 1 if so, 0 if not

 -signkey arg    - self sign cert with arg

 -x509toreq      - output a certification request object

 -req            - input is a certificate request, sign and output.

 -CA arg         - set the CA certificate, must be PEM format.

 -CAkey arg      - set the CA key, must be PEM format

                   missing, it is assumed to be in the CA file.

 -CAcreateserial - create serial number file if it does not exist

 -CAserial arg   - serial file

 -set_serial     - serial number to use

 -text           - print the certificate in text form

 -C              - print out C code forms

 -md2/-md5/-sha1/-mdc2 - digest to use

 -extfile        - configuration file with X509V3 extensions to add

 -extensions     - section from config file with X509V3 extensions to
add

 -clrext         - delete extensions before signing and input
certificate

 -nameopt arg    - various certificate name options

 -engine e       - use engine e, possibly a hardware device.

 -certopt arg    - various certificate text options

./unbound-control-setup fatal error: could not create
unbound_control.pem

root at wnpgmb024rw-ns05# [B

 

Bruce

Bruce Hayward, MTS Allstream Inc., (c) 204-792-9174 (p) 204-958-1983 (e)
bruce.hayward at mtsallstream.com <mailto:bruce.hayward at mtsallstream.com>  

 


 
 
Is it really necessary to print this email?
 
MTS ALLSTREAM INC. CONFIDENTIALITY WARNING: This email message is confidential and intended only for the named recipient(s).  If you are not the intended recipient, or an agent responsible for delivering it to the intended recipient, or if this message has been sent to you in error, you are hereby notified that any review, use, dissemination, distribution or copying of this message or its contents is strictly prohibited.   If you have received this message in error, please notify the sender immediately and delete the original message.  If there is an agreement attached with this message, such agreement will not be binding until it is signed by all parties named therein.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://unbound.nlnetlabs.nl/pipermail/unbound-users/attachments/20100813/3741dd73/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: homecoming_with_no_top_100_email_signature.gif
Type: image/gif
Size: 8211 bytes
Desc: homecoming_with_no_top_100_email_signature.gif
URL: <http://unbound.nlnetlabs.nl/pipermail/unbound-users/attachments/20100813/3741dd73/attachment-0001.gif>