Skip to content

Commit

Permalink
Add DOH certificate generation commands into the example config.
Browse files Browse the repository at this point in the history
  • Loading branch information
d3cim committed Apr 15, 2023
1 parent c2f026d commit 0a556a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/dnscrypt-proxy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,9 @@ cache_neg_max_ttl = 600


## Certificate file and key - Note that the certificate has to be trusted.
## Can be generated using the following commands:
## openssl genpkey -genparam -algorithm ec -pkeyopt ec_paramgen_curve:P-256 -out ECPARAM.pem
## 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
## See the documentation (wiki) for more information.

# cert_file = 'localhost.pem'
Expand Down

0 comments on commit 0a556a0

Please sign in to comment.