mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-01 06:19:44 +01:00
Quick'n'dirty client certificate support for s_client
Usage: $ export keyopts="-cert path/to/cert.pem -CAfile path/to/cert.pem" $ ./testssl.sh [usual options] cert.pem may be single file containing pem-encoded: - certificate key (not encrypted) - client certificate - any number of intermediate certificates
This commit is contained in:
parent
1e268eca01
commit
9913c1137d
@ -2027,7 +2027,7 @@ s_client_options() {
|
||||
[[ "$1" =~ secp192r1 ]] && options="${options//secp192r1/prime192v1}"
|
||||
[[ "$1" =~ secp256r1 ]] && options="${options//secp256r1/prime256v1}"
|
||||
fi
|
||||
tm_out "$options"
|
||||
tm_out "$options $keyopts"
|
||||
}
|
||||
|
||||
###### check code starts here ######
|
||||
|
Loading…
Reference in New Issue
Block a user