I am creating an application which will communicate with other systems via rest APIs with one .pfx certificate. I have to write this application in Go. Any leads will be extremely helpful.
Asked
Active
Viewed 899 times
0
-
you can extract `cert` [file from pfx file](https://www.networkinghowtos.com/howto/extract-the-public-certificate-and-private-key-from-a-pfx-file-using-openssl/), and then use `http.ListenAndServeTLS` https://gist.github.com/denji/12b3a568f092ab951456 – whitespace Jan 06 '21 at 07:16
-
Thanks, I will try this solution. – Sourav Kabiraj Jan 06 '21 at 09:49