check if tls cert/key exist