For communication with health authorities I need to create a SSL connection. This connection has to be a 2 sided SSL.
Session started from A to dns name
B offers certificate
A has to check if common name in certificate B is dns name
A has to check certificate chain (sent with certificate, but root certificate has to be installed locally).
A offers certificate
Tick/tock message has to be sent and received