Skip to content

Commit 0a556a0

Browse files
committed
Add DOH certificate generation commands into the example config.
DNSCrypt/dnscrypt-proxy#2367
1 parent c2f026d commit 0a556a0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

config/dnscrypt-proxy.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,9 @@ cache_neg_max_ttl = 600
463463

464464

465465
## Certificate file and key - Note that the certificate has to be trusted.
466+
## Can be generated using the following commands:
467+
## openssl genpkey -genparam -algorithm ec -pkeyopt ec_paramgen_curve:P-256 -out ECPARAM.pem
468+
## openssl req -x509 -nodes -newkey ec:ECPARAM.pem -subj "/C=XZ/L=own PC/O=localhost/CN=localhost/" -days 5000 -sha256 -keyout localhost.pem -out localhost.pem
466469
## See the documentation (wiki) for more information.
467470

468471
# cert_file = 'localhost.pem'

0 commit comments

Comments
 (0)