Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ RUN make

FROM scratch
COPY --from=build /app/ndnd /app/*/*.sample.yml /
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
ENTRYPOINT ["/ndnd"]
21 changes: 21 additions & 0 deletions std/examples/ndncert/ca.conf.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"ca-prefix": "/example",
"ca-info": "An example NDNCERT CA",
"max-validity-period": "1296000",
"supported-challenges": [
{
"challenge": "email"
},
{
"challenge": "dns"
}
],
"email": {
"smtp-server": "smtp.example.org",
"smtp-port": 587,
"smtp-username": "ndncert",
"smtp-password-env": "NDNCERT_SMTP_PASSWORD",
"from": "NDN Certificate Robot <noreply@example.org>",
"subject": "Your NDNCERT verification code"
}
}
Loading
Loading