Add option to use pfx or p12 for TLS connections

This commit is contained in:
Dave Conway-Jones
2024-10-09 16:49:27 +01:00
parent 83acc4836b
commit c3d4421592
4 changed files with 111 additions and 21 deletions

View File

@@ -204,19 +204,25 @@
"ca": "CA Certificate",
"verify-server-cert": "Verify server certificate",
"servername": "Server Name",
"alpnprotocol": "ALPN Protocol"
"alpnprotocol": "ALPN Protocol",
"certtype": "Cert Type",
"files": "Individual files",
"p12": "pfx or p12",
"pfx": "pfx or p12 file"
},
"placeholder": {
"cert": "path to certificate (PEM format)",
"key": "path to private key (PEM format)",
"p12": "path to .pfx or .p12 (PKCS12 format)",
"ca": "path to CA certificate (PEM format)",
"passphrase": "private key passphrase (optional)",
"passphrase": "password or passphrase (optional)",
"servername": "for use with SNI",
"alpnprotocol": "for use with ALPN"
},
"error": {
"missing-file": "No certificate/key file provided",
"invalid-cert": "Certificate not specified",
"invalid-p12": "pfx/p12 not specified",
"invalid-key": "Private key not specified"
}
},