Open andrewm42 opened 4 years ago
Interesting question, I don't know off hand, but would like to support it if possible.
@andrewm42 Did you make any progress with this?
I'm curious about this too. The lamba payload does pass the following, so I think this might be possible.
"clientCert": {
"clientCertPem": "CERT_CONTENT",
"subjectDN": "www.example.com",
"issuerDN": "Example issuer",
"serialNumber": "a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1",
"validity": {
"notBefore": "May 28 12:30:02 2019 GMT",
"notAfter": "Aug 5 09:36:04 2021 GMT"
}
}
I'll investigate more, might do a PR if I'm feeling ambitious.
I am trying to convert a nodejs app that uses
https
to specify a certificate to authorize a request based on mutual TLS, basically making something like the following work in AWS lambda?Is that at all possible using this framework?