SSL after build Ionic 5

I used ionic generate SSL and added to dev script, working fine.
But after build not working anymore and got the old error. So if there is any solution?

I also tried this solution. not working

http://ivancevich.me/articles/ignoring-invalid-ssl-certificates-on-cordova-android-ios/