77/how-to-provide-ca-certs-for-listenandservetls-function/49354072>
On Monday, 28 September 2020 at 19:30:40 UTC+5:30 smartaq...@gmail.com
wrote:
> Team,
>
> Hi all, hope you're doing well.
>
> I have hosted a small api on windows 10 machine which I'm using as a
> webh
Team,
Hi all, hope you're doing well.
I have hosted a small api on windows 10 machine which I'm using as a
webhook receiver. The CA authority of webhook sender is different from the
CA authority of the golang api.
Code of API is:-
---
mage:
>> p7hpq]
>>
>> On September 25, 2020 at 17:34 GMT, gaurav wrote:
>>
>>
>> First request must be OPTION and second must be GET/ POST , This is
>> default browser behaviour.
>>
>> On Friday, 25 September 2020 at 15:22:27 UTC+5:30 smartaq...@g
ember 25, 2020 at 17:34 GMT, gaurav wrote:
>
>
> First request must be OPTION and second must be GET/ POST , This is
> default browser behaviour.
>
> On Friday, 25 September 2020 at 15:22:27 UTC+5:30 smartaq...@gmail.com
> wrote:
>
>> Team,
>>
>> Hi all,
Team,
Hi all, hope you are doing good.
I've made a hosted a small api on my windows 10 enterprise machine:
```
func main() {
srv := &http.Server{Addr: ":8000", Handler: http.HandlerFunc(handle)}
log.Fatal(srv.ListenAndServeTLS("certificate.crt", "certificate.key"))
}
func handle(w http.R
Team,
Hi all, hope you are doing good.
I've made a small poc api on my windows 10 enterprise machine
```
func main() {
srv := &http.Server{Addr: ":8000", Handler: http.HandlerFunc(handle)}
log.Fatal(srv.ListenAndServeTLS("certificate.crt", "certificate.key"))
}
func handle(w http.Respons