Hi guys, I am currently working on integration of my system with 3rd party api. They provide us a test server and SSL certificates for it. When I try to use golang to connect it I am getting errror : *remote error: bad certificate *where code in php works with the same certificates. Can anyone tell me what am I doing wrong or what is the difference I cannot see?
Here is my golang code: https://gist.github.com/Gobonoid/a3289f0665819bc04b03a6b0cfccdc2a And here is PHP curl: https://gist.github.com/Gobonoid/ab6c3ded4164e00a5c2e515bbb0959b2 Thank You for any help. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.