ASP.Net Core 3 The remote certificate is invalid on MacOs

后端 未结 2 1304
盖世英雄少女心
盖世英雄少女心 2021-01-22 08:35

When I try to call an API method using identityserver4, I tried before on Windows and it is working fine only in Mac OS I faced this issue and I don´t know what is happened and

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-22 09:14

    Your Mac does not trust the local development Windows certificate for localhost, you need to buy a get a real certificate that your Mac will trust. Perhaps use LetsEncrypt if you want a real trusted certificate for free.

提交回复
热议问题