IPsec/IKEv2-based VPN software for Linux
# sudo apt-get install tinyca
# tinyca2 & |
# cd ~/.TinyCA/TestCA/
# ls cacert.key certs index.txt newcerts openssl.cnf.org serial cacert.pem crl keys openssl.cnf req # cp openssl.cnf openssl.cnf.org # gedit openssl.cnf & |
[ server_cert ] basicConstraints = CA:FALSE nsCertType = server nsComment = "TinyCA Generated Certificate" subjectKeyIdentifier = hash authorityKeyIdentifier = keyid,issuer:always issuerAltName = issuer:copy subjectAltName = DNS:gateway1.example.com |
# cd ~/.TinyCA/TestCA/
# rm openssl.cnf # mv openssl.cnf.org openssl.cnf |
# cd ~/.TinyCA/TestCA/
# ls cacert.key certs index.txt newcerts openssl.cnf.org serial cacert.pem crl keys openssl.cnf req # cp openssl.cnf openssl.cnf.org # gedit openssl.cnf & |
[ client_cert ] basicConstraints = CA:FALSE nsCertType = client, email, objsign nsComment = "TinyCA Generated Certificate" subjectKeyIdentifier = hash authorityKeyIdentifier = keyid,issuer:always issuerAltName = issuer:copy subjectAltName = DNS:remotehost1.example.com keyUsage = digitalSignature, keyEncipherment |
# cd ~/.TinyCA/TestCA/
# rm openssl.cnf # mv openssl.cnf.org openssl.cnf |