HTTPS --write-out %{certs} # Server-side HTTP/1.1 200 OK Date: Tue, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Content-Length: 7 nomnom # Client-side SSL !wolfssl !mbedtls http https --write-out with %{certs} --insecure https://%HOSTIP:%HTTPSPORT/%TESTNUMBER -w '%{certs}' GET /%TESTNUMBER HTTP/1.1 Host: %HOSTIP:%HTTPSPORT User-Agent: curl/%VERSION Accept: */* s/^(.*):(.*)[\r\n]*// nomnom %strippemfile[%CERTDIR/certs/test-localhost.crt]strippemfile%