使用浏览器debug时,如何使用https协议?

因为需要接入agora的SDK。要求使用https才可以访问;为了方便开发时测试。有没有办法使用:https://localhost:7457/;证书可以使用自签名证书