Using this information:
http://serverfault.com/questions/306345/certification-authority-root-certificate-expiry-and-renewal
does not generate a ca.crt with suitable details .. like
CA:TRUE
EG:
Working ca.crt:
root@deb-760-live:/etc/openvpn/test2048# openssl x509 -noout -text -in ca.crt
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
f8:24:ad:4c:5c:6d:ed:d3
Signature Algorithm: sha256WithRSAEncryption
Issuer: C=UK, ST=00, L=London, O=OpenVPN, OU=TEST, CN=test2048/name=EasyRSA/emailAddress=me@myhost.mydomain
Validity
Not Before: Jan 10 14:24:22 2015 GMT
Not After : Jan 7 14:24:22 2025 GMT
Subject: C=UK, ST=00, L=London, O=OpenVPN, OU=TEST, CN=test2048/name=EasyRSA/emailAddress=me@myhost.mydomain
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (2048 bit)
Modulus:
00:..
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Subject Key Identifier:
E2:B9:C6:8D:D7:D3:C8:40:2C:D4:EA:F4:CB:8C:09:35:46:3C:06:22
X509v3 Authority Key Identifier:
keyid:E2:B9:C6:8D:D7:D3:C8:40:2C:D4:EA:F4:CB:8C:09:35:46:3C:06:22
DirName:/C=UK/ST=00/L=London/O=OpenVPN/OU=TEST/CN=test2048/name=EasyRSA/emailAddress=me@myhost.mydomain
serial:F8:24:AD:4C:5C:6D:ED:D3
X509v3 Basic Constraints:
CA:TRUE
Signature Algorithm: sha256WithRSAEncryption
37:..
New (incompatible) ca.crt:
root@deb-760-live:/etc/openvpn/test2048# openssl x509 -noout -text -in newca.crt
Certificate:
Data:
Version: 1 (0x0)
Serial Number:
aa:ce:09:77:f5:f9:21:5c
Signature Algorithm: sha256WithRSAEncryption
Issuer: C=UK, ST=00, L=London, O=OpenVPN, OU=TEST, CN=test2048/emailAddress=me@myhost.mydomain
Validity
Not Before: Apr 18 14:29:53 2015 GMT
Not After : Feb 16 08:01:37 1979 GMT
Subject: C=UK, ST=00, L=London, O=OpenVPN, OU=TEST, CN=test2048/emailAddress=me@myhost.mydomain
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (2048 bit)
Modulus:
00:..
Exponent: 65537 (0x10001)
Signature Algorithm: sha256WithRSAEncryption
92:..
I have tried to pick apart easy-rsa: build-ca and pkitool and openssl-1.0.0.cnf but came up with nothing.
Any further advice would be highly appreciated 😃