Creating sessions is expensive and not scalable - overtime the server will be overwhelmed with session data (which could also be reused and stolen for some other service). In order to do so, stateless token based authentication was created. Token Based Authentication makes sure that the client side has the signed token to access data, rather than storing everything on its side.
The procedure:
An analogy: Event where you show your official ID, receive a temporary bracelet for ID, and use subsequent visits to the event, using the bracelet.
openssl s_client -connect 127.0.0.1:80
This will reproduce the same errors if you are having SSL unknown protocol error. This attempts to connect to the server client set up at 127.0.0.1:80.
openssl x509 -enddate -noout -in file.pem
openssl rsa -in private.key -pubout > public.pub
openssl x509 -pubkey -noout -in cert.pem > pubkey.pem
openssl pkcs12 -nodes -clcerts -in dev.p12 -out dev.pem
Avoid having to be asked overtime for a pass key phrase
eval $(ssh-agent) & ssh-add
openssl x509 -in ../dev.pem -noout -text