Skip to content
Snippets Groups Projects
Commit c8fea9fe authored by nimrod's avatar nimrod
Browse files

Added more tests.

parent 04a9ac49
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment