1
0

http server: add ssl and bip70 signed requests

This commit is contained in:
ThomasV
2019-09-05 10:57:50 +02:00
parent 9d65120e59
commit 128285a050
7 changed files with 45 additions and 24 deletions

View File

@@ -473,8 +473,8 @@ def serialize_request(req):
def make_request(config, req):
pr = make_unsigned_request(req)
key_path = config.get('ssl_privkey')
cert_path = config.get('ssl_chain')
key_path = config.get('ssl_keyfile')
cert_path = config.get('ssl_certfile')
if key_path and cert_path:
sign_request_with_x509(pr, key_path, cert_path)
return pr