Tuesday, 24 August 2021

Read PEM certificate on Flask

Basically, I want to be able to ask the user for it's personal P12 certificate in order to resend it to a government page and retrieve some information with it. I know this could be simply done asking the user to select the path of his local certificate and send it, but average users will have no clue where his local certificates are.

Therefore, my question is: is there another way the user can select his local certificate and upload it to my local Flask page without having to manually go to the certificate path?

PS: I have seen several solutions like this one, but the thing is that I will not have a server certificate, the Flask webpage will act as a mere intermediate agent to resend the certificate to a government page.



from Read PEM certificate on Flask

No comments:

Post a Comment