Rocket/examples/tls/Rocket.toml

46 lines
1.4 KiB
TOML
Raw Permalink Normal View History

# The certificate key pairs used here were generated with openssl via the
# 'private/gen_certs.sh' script.
#
# These certificates are self-signed. As such, you will need to trust them
# directly for your browser to show connections as secure. You should NEVER use
# these certificate/key pairs. They are here for DEMONSTRATION PURPOSES ONLY.
[default]
log_format = "compact"
[default.tls]
certs = "private/rsa_sha256_cert.pem"
key = "private/rsa_sha256_key.pem"
[default.tls.mutual]
ca_certs = "private/ca_cert.pem"
mandatory = false
[rsa_sha256.tls]
certs = "private/rsa_sha256_cert.pem"
key = "private/rsa_sha256_key.pem"
2021-03-18 01:09:32 +00:00
2023-03-23 21:18:22 +00:00
[ecdsa_nistp256_sha256_pkcs8.tls]
certs = "private/ecdsa_nistp256_sha256_cert.pem"
key = "private/ecdsa_nistp256_sha256_key_pkcs8.pem"
2023-03-23 21:18:22 +00:00
[ecdsa_nistp384_sha384_pkcs8.tls]
certs = "private/ecdsa_nistp384_sha384_cert.pem"
key = "private/ecdsa_nistp384_sha384_key_pkcs8.pem"
[ecdsa_nistp521_sha512_pkcs8.tls]
certs = "private/ecdsa_nistp521_sha512_cert.pem"
key = "private/ecdsa_nistp521_sha512_key_pkcs8.pem"
2023-03-23 21:18:22 +00:00
[ecdsa_nistp256_sha256_sec1.tls]
certs = "private/ecdsa_nistp256_sha256_cert.pem"
key = "private/ecdsa_nistp256_sha256_key_sec1.pem"
[ecdsa_nistp384_sha384_sec1.tls]
certs = "private/ecdsa_nistp384_sha384_cert.pem"
key = "private/ecdsa_nistp384_sha384_key_sec1.pem"
[ed25519.tls]
certs = "private/ed25519_cert.pem"
key = "private/ed25519_key.pem"