From a6fdbdb74320bdfefb198f3fc116af6680ba1568 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Wed, 25 Nov 2015 09:48:11 +0200 Subject: [PATCH] Testing with s_server and s_client WIP. --- .gitignore | 1 + Makefile | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 4eae557..dc0ffec 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ openssl.cnf CA.key CA.crt CA.p12 +server.pid diff --git a/Makefile b/Makefile index 6c6d41a..cc14422 100644 --- a/Makefile +++ b/Makefile @@ -28,3 +28,6 @@ test: clean test "$$(openssl x509 -in certs/www -subject -noout)" = "subject= /CN=www.ssl-ca" test "$$(openssl x509 -in certs/smtp -issuer -noout)" = "issuer= /CN=ssl-ca" test "$$(openssl x509 -in certs/smtp -subject -noout)" = "subject= /CN=smtp.ssl-ca" + openssl s_server -accept 8080 -cert certs/www -key keys/www -CAfile CA.crt & echo "$$!" > server.pid + kill "$$(cat server.pid)" + rm server.pid -- GitLab