How to ignore invalid SSL certificates with Capacitor?

I know that’s a terrible idea, but my boss don’t want to install a certificate for every client backend… I have already found a way to accomplish that with cordova, but i don’t want to lose the possibility of debugging in real-time with capacitor

Any suggestion?

Edit: I found a workaround: I wrote a service that make http request for me, and with platform.is decide when use ionic native http client and when use angular http client; of course with angular you can’t accept ssl auto signed certificates, but at least i can avoid using cordova, in favor of “ionic serve” command

The topic can be closed

It needs to be repeated just how terrible an idea this is.

Why? They’re free, and if you’re talking about virtual hosts, you can manage certs for all of them using a single certbot.

I have the same question. I will fix the SSL issue but right at this moment I need to be able to login to my app to test something else and cannot get past the login screen in my development environment.

Incidentally, I use LetsEncrypt/certbot but don’t have time to troubleshoot the error right now.