2015-07-10 01:24:24 +08:00
|
|
|
# Example config module configuration
|
|
|
|
|
|
|
|
# Name supplied by application to CONF_modules_load_file
|
|
|
|
# and section containing configuration
|
|
|
|
testapp = test_sect
|
|
|
|
|
|
|
|
[test_sect]
|
2017-11-12 08:03:10 +08:00
|
|
|
# list of configuration modules
|
2015-07-10 01:24:24 +08:00
|
|
|
|
|
|
|
# SSL configuration module
|
|
|
|
ssl_conf = ssl_sect
|
|
|
|
|
|
|
|
[ssl_sect]
|
|
|
|
# list of SSL configurations
|
|
|
|
server = server_sect
|
|
|
|
|
|
|
|
[server_sect]
|
|
|
|
# Only support 3 curves
|
|
|
|
Curves = P-521:P-384:P-256
|
|
|
|
# Restricted signature algorithms
|
|
|
|
SignatureAlgorithms = RSA+SHA512:ECDSA+SHA512
|
|
|
|
# Certificates and keys
|
|
|
|
RSA.Certificate=server.pem
|
|
|
|
ECDSA.Certificate=server-ec.pem
|