v1
latestOpenAPI 3.0.32026-07-17687987.2 KBtls
Checks if the current TLS configuration is valid
post/tls/validate
Request body
Example request
{
"server_name": "example.org",
"valid_cert": true,
"valid_key": true,
"key_type": "RSA",
"subject": "CN=example.org",
"not_before": "2019-01-31T10:47:32Z",
"private_key": "private_key",
"private_key_saved": true,
"enabled": true,
"certificate_chain": "certificate_chain",
"private_key_path": "private_key_path",
"issuer": "CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US",
"not_after": "2019-05-01T10:47:32Z",
"force_https": true,
"certificate_path": "certificate_path",
"warning_validation": "You have specified an empty certificate",
"dns_names": [
"*.example.org"
],
"valid_pair": true,
"valid_chain": true,
"port_dns_over_tls": 853,
"port_dns_over_quic": 784,
"port_https": 443
}Response
TLS configuration and its status
Example response
{
"server_name": "example.org",
"valid_cert": true,
"valid_key": true,
"key_type": "RSA",
"subject": "CN=example.org",
"not_before": "2019-01-31T10:47:32Z",
"private_key": "private_key",
"private_key_saved": true,
"enabled": true,
"certificate_chain": "certificate_chain",
"private_key_path": "private_key_path",
"issuer": "CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US",
"not_after": "2019-05-01T10:47:32Z",
"force_https": true,
"certificate_path": "certificate_path",
"warning_validation": "You have specified an empty certificate",
"dns_names": [
"*.example.org"
],
"valid_pair": true,
"valid_chain": true,
"port_dns_over_tls": 853,
"port_dns_over_quic": 784,
"port_https": 443
}