Skip to content

Commit

Permalink
Add showcert.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
yutayamate committed Oct 3, 2023
1 parent bf5c6d4 commit 9c3c642
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/showcert.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
openssl s_client -showcerts -connect "$1:${2:-443}" < /dev/null 2> /dev/null | openssl x509 -inform PEM -text -noout

0 comments on commit 9c3c642

Please sign in to comment.