Skip to content

Commit

Permalink
enable TLS-ALPN-01 challenge
Browse files Browse the repository at this point in the history
  • Loading branch information
uedvt359 committed Jan 12, 2024
1 parent 3500824 commit a1eabdb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion serles/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ def post(self):

identifier = Identifier(type=IdentifierTypes(type_), value=value)
db.session.add(identifier)
challenges = [Challenge(type=ChallengeTypes.http_01)]
challenges = [
Challenge(type=ChallengeTypes.http_01),
Challenge(type=ChallengeTypes.tls_alpn_01),
]
for c in challenges:
db.session.add(c)
authz = Authorization(identifier=identifier, challenges=challenges)
Expand Down

0 comments on commit a1eabdb

Please sign in to comment.