Forum Discussion
Chris_Zhang
Ret. Employee
You can recreate your cert as below.
root@u1:~ openssl x509 -req -days 3650 -in vpn.home.lab.csr -CA dc7.h.l.cer -CAkey dc7.h.l.key -out vpn.home.lab.cer -set_serial 129 -sha256 -extensions some_ext -extfile ssl_ext
root@u1:~ cat ssl_ext
[some_ext]
extendedKeyUsage = serverAuth, clientAuth, codeSigning, emailProtection
basicConstraints = CA:FALSE
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
paulooliveira
Jul 20, 2023Altostratus
Hi,
When running the above command, I get the error below:
error loading the config file 'ssl_ext'
The command I'm running is:
openssl x509 -req -days 3650 -in /shared/tmp/client1.req -CA /shared/tmp/client1.crt -CAkey /shared/tmp/client1.key -out /shared/tmp/apm.labf5.com.br.crt -set_serial 129 -sha256 -extensions some_ext -extfile ssl_ext
Its correct?