mirror of
https://git.collinwebdesigns.de/oscar.krause/fastapi-dls.git
synced 2025-08-28 23:46:57 +08:00
Compare commits
2 Commits
038dfba160
...
02602597f9
Author | SHA1 | Date | |
---|---|---|---|
|
02602597f9 | ||
|
3666e22707 |
@ -471,8 +471,8 @@ async def leasing_v1_config_token(request: Request):
|
||||
my_jwt_encode_key = jwk.construct(my_si_private_key.pem().decode('utf-8'), algorithm=ALGORITHMS.RS256)
|
||||
config_token = jws.sign(payload, key=my_jwt_encode_key, headers=None, algorithm=ALGORITHMS.RS256)
|
||||
|
||||
response_ca_chain = my_ca_certificate.pem().decode('utf-8')
|
||||
response_si_certificate = my_si_certificate.pem().decode('utf-8')
|
||||
response_ca_chain = my_ca_certificate.pem().decode('utf-8').strip().replace('\n', '\r\n')
|
||||
response_si_certificate = my_si_certificate.pem().decode('utf-8').strip().replace('\n', '\r\n')
|
||||
|
||||
response = {
|
||||
"certificateConfiguration": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user