Browse Source

getpem: toy to get the ssl public key of a remote

Signed-off-by: Alejandro Mery <amery@geeks.cl>
master
Alejandro Mery 10 years ago
parent
commit
94c8426be2
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      files/bin/getpem

+ 3
- 0
files/bin/getpem

@ -0,0 +1,3 @@
#!/bin/sh
openssl s_client -connect "$@" < /dev/null | openssl x509 -pubkey -noout

Loading…
Cancel
Save