crypto: introduce new module for TLS x509 credentials