How to manage a certificate before open a Web View

What you need to do is SSL pinning…
There are numerous answers about it here on Ionic forum… or online…
for example…
https://forum.ionicframework.com/t/ionic-https-request-not-working-gives-tls-error/192292