diff --git a/Makefile b/Makefile index 1d08139f3dcdd6e7df92625300227480ea5a0536..ab0ea242e8915b5e92c7749ec76f5d9a0a699305 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,10 @@ clean: test: clean ./ssl-ca init + test "$$(openssl rsa -noout -check -in CA.key)" == "RSA key ok" + test "$$(openssl verify -CAfile CA.crt CA.crt)" == "CA.crt: OK" ./ssl-ca gen www + test "$$(openssl rsa -noout -check -in keys/www)" == "RSA key ok" openssl verify -CAfile CA.crt certs/www test "$$(openssl x509 -in certs/www -issuer -noout)" == "issuer= /CN=*.*.ssl-ca" test "$$(openssl x509 -in certs/www -subject -noout)" == "subject= /CN=*.*.www.ssl-ca"