Skip to content

Commit

Permalink
tlsclient: add sample connect script for SSL/TLS.
Browse files Browse the repository at this point in the history
Use with:
set server |/path/to/tlsclient server:port
  • Loading branch information
Cigaes committed Dec 4, 2014
1 parent c48b1e6 commit ba1399b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tlsclient
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

remote="$1"
[ -z "$remote" ] && exit 1

exec socat - ssl:${remote},verify=0
#exec openssl s_client -quiet -connect $remote

0 comments on commit ba1399b

Please sign in to comment.