You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there! I've been debugging for a while since I was not able to get my SSL Client Certificates to be available in my HttpContext.Connection.ClientCertificate.
I've come across #26531 which explains why some certificates are not included at all in the request information.
And yet, I have a use case: the client certificates generated by AWS API Gateway do not have the required properties, are self-signed and as such will never appear in .NETCore hosted apps.
I'm including an example certificate generated by AWS API Gateway so you can inspect it in detail:
I have no authority to dictate what .NETCore should do, but aside from asking how to allow .NETCore apps from verifying that the caller is indeed AWS API Gateway, here are a few ideas that I think could help others (even in the case of self-signing for local testing):
Maybe we could include an option so that invalid certificates are not automatically discarded, but rather included in the request information?
Maybe we could include an option so that client certificates are not automatically checked?
Maybe we could include the rejected SSL certificates somewhere in the HTTP context?
Maybe there's a workaround I didn't know about?
Let me know what do you think a good next steps should be -- anyway, thank you for your time, and thanks for the .NETCore effort! It's incredible and better every day!
The text was updated successfully, but these errors were encountered:
@karelz Sorry for taking so long to respond. Nope -- you're right. It is even possible I missed some steps that I found out later on.
I'll perform further tests and if the problem still persists I'll open the ticket for ASP.NET and link here. Otherwise, it was all an issue on my side.
Hi there! I've been debugging for a while since I was not able to get my SSL Client Certificates to be available in my
HttpContext.Connection.ClientCertificate
.I've come across #26531 which explains why some certificates are not included at all in the request information.
And yet, I have a use case: the client certificates generated by AWS API Gateway do not have the required properties, are self-signed and as such will never appear in .NETCore hosted apps.
I'm including an example certificate generated by AWS API Gateway so you can inspect it in detail:
I have no authority to dictate what .NETCore should do, but aside from asking how to allow .NETCore apps from verifying that the caller is indeed AWS API Gateway, here are a few ideas that I think could help others (even in the case of self-signing for local testing):
Let me know what do you think a good next steps should be -- anyway, thank you for your time, and thanks for the .NETCore effort! It's incredible and better every day!
The text was updated successfully, but these errors were encountered: