Reply
Highlighted
New Member
Posts: 1
Registered: a week ago

CA.sh -newca does not seem to do anything anymore

Was following guide for OpenVPN when I entered the wrong thing for the challange passphrace and ctrl-C out. 
Went to try again and now when I enter 

./CA.sh -newca

I just get a return carrage. 

 

root@ubnt:/usr/lib/ssl/misc# ./CA.sh -newca
root@ubnt:/usr/lib/ssl/misc#

Currently running EdgeOSv1.10.3

Ubiquiti Employee
Posts: 1,412
Registered: ‎05-08-2017
Kudos: 307
Solutions: 243

Re: CA.sh -newca does not seem to do anything anymore

Hi @Roseman, welcome to the UBNT forums!

 

When you create a new root certificate, the demoCA directory gets created as well:

root@edgerouter:/usr/lib/ssl/misc# ls -la
total 32
drwxr-xr-x    3 root     root          4096 Jul 17 18:19 .
drwxr-xr-x    4 root     root          4096 Jul 17 18:19 ..
-rwxr-xr-x    1 root     root          5875 Apr 26 15:45 CA.pl
-rwxr-xr-x    1 root     root          5175 Apr 26 15:45 CA.sh
-rwxr-xr-x    1 root     root           119 Apr 26 15:45 c_hash
-rwxr-xr-x    1 root     root           152 Apr 26 15:45 c_info
-rwxr-xr-x    1 root     root           112 Apr 26 15:45 c_issuer
-rwxr-xr-x    1 root     root           110 Apr 26 15:45 c_name
drwxr-xr-x    6 root     root          4096 Jul 17 18:19 demoCA
-rwxr-xr-x    1 root     root          6419 Apr 26 15:45 tsget

 

To start over, please remove the demoCA directory first using the rm command.

root@edgerouter:/usr/lib/ssl/misc# rm -r demoCA/

 

If you make any typo's during the OpenVPN cert config, try using CTRL+U to clear the output instead of exiting out.

 

Hope that helps!

 

Ben


Ben Pin - EdgeMAX Support

Reply