Skip to content

Instantly share code, notes, and snippets.

View fams's full-sized avatar

Fernando Augusto Medeiros Silva fams

View GitHub Profile
@fams
fams / openssl-userfull-commands.md
Last active March 18, 2022 14:15
OpenSSL usefull commands

Connect to a TLS Server

Connect using servername SNI

openssl s_client -connect <address>:<port> -servername <fqdn> 

Connect passing client cert (mTLS)

<Valve className="org.apache.catalina.valves.AccessLogValve" directory="$CATALINA_HOME/logs/" prefix="access_log" fileDateFormat="yyyy-MM-dd.HH" suffix=".log" pattern="%t %H cookie:%{SESSIONID}c request:%{SESSIONID}r %m %U %s %q %r" />