Do some gymnastic to respect a certificate configured via config file