Error while trying to make root CA
Peter Carlstedt
pc_007 at hotmail.com
Tue Dec 1 08:46:20 CET 2009
Hello everyone, it took a while for me to understand how to get root privileges in the terminal, i finally decided to login as root though I know I should not do that but I couldnt find a way around it since i need to get into raddb/certs with the terminal so i can remove some files and stuff that the readme say.
Well I tried to runt the bootstrap command and got an error saying that it has problems making the Cert Request.
Here down below is the output from the bootstrap command.
How do I fix this, have I done something that I shouldnt have done?
Best regards/ Peter Carlstedt
root at peter-desktop:/usr/local/etc/raddb/certs# ./bootstrap
openssl req -new -out server.csr -keyout server.key -config ./server.cnf
Generating a 2048 bit RSA private key
....................................+++
......................+++
writing new private key to 'server.key'
-----
openssl req -new -x509 -keyout ca.key -out ca.pem \
-days `grep default_days ca.cnf | sed 's/.*=//;s/^ *//'` -config ./ca.cnf
Generating a 2048 bit RSA private key
.......+++
........................................+++
writing new private key to 'ca.key'
-----
problems making Certificate Request
9578:error:0D07A097:asn1 encoding routines:ASN1_mbstring_ncopy:string too long:a_mbstr.c:154:maxsize=2
make: *** [ca.key] Error 1
Generating DH parameters, 1024 bit long safe prime, generator 2
This is going to take a long time
..............................................+..................................................................................+.+..........................................+............+............+......+..............................................................................+..........+...............................................................................................................+........+...........................................................................+...................+.......+.+......+............+.............................................................+........................+.................................................................................................................................................+.......................+......................................................................+..........................................................................................................................+............................................+.....+.................................................+.................................................................................................+............+...............+.............................................................................+........................+............+.................................+.+.....................................................+......................+...........................................................+..................................+...........+..................................................+............+........+...............+................................+........................+....................................................................................................................................................................................+........................................................................................+................+.................................................+.............................+..........................+........................................................................+...............+......................................+...............+.............................................+............+..................................+...............+............................+...........+..................++*++*++*
Generating a 2048 bit RSA private key
.............................................................................................................+++
..........................................................................+++
writing new private key to 'server.key'
-----
Generating a 2048 bit RSA private key
..............................................+++
.......................................................................+++
writing new private key to 'ca.key'
-----
problems making Certificate Request
9587:error:0D07A097:asn1 encoding routines:ASN1_mbstring_ncopy:string too long:a_mbstr.c:154:maxsize=2
_________________________________________________________________
Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail®.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20091201/83c001fb/attachment.html>
More information about the Freeradius-Users
mailing list