Open klochko7 opened 2 years ago
Please provide a minimal version to reproduce your problem.
Hi, I'm having the same problem. My .cer
certificates are already at www/certificates
and the Trust anchor for certification path not found
error still appears.
Ionic CLI : 6.18.1 Ionic Framework : ionic-angular 3.8.0 @ionic/app-scripts : 3.2.4 @ionic-native/http: 4.20.0 cordova-plugin-advanced-http: 2.4.1
Hi, Having the same issue. Certificate are already at www/certificates and android/app/src/main/assets/public/certificates.
"error":"TLS connection could not be established: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
@ionic-native/http: 5.36.0 cordova-plugin-advanced-http: 3.2.2
Ionic:
Ionic CLI : 6.18.2 (/usr/local/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 5.9.1 @angular-devkit/build-angular : 13.3.5 @angular-devkit/schematics : 13.3.5 @angular/cli : 13.3.5 @ionic/angular-toolkit : 5.0.3
Capacitor:
Capacitor CLI : 3.6.0 @capacitor/android : 3.6.0 @capacitor/core : 3.6.0 @capacitor/ios : 3.6.0
System:
NodeJS : v16.14.0 (/usr/local/bin/node) npm : 2.15.12 OS : macOS Monterey
I also have same error I already create www/certificates and put the key file DER in there but I got this error after run.
currently I use "cordova": "^10.0.0" and "cordova-plugin-advanced-http": "3.0.0".
My project is cordova monaca.
Anyone have solution for this? Thank you so much.
I already solved this problem because I mistaken convert file to .der instead .cer files. Thank you so much.
I already solved this problem because I mistaken convert file to .der instead .cer files. Thank you so much.
I also encountered the same error. My certificate was generated by openssl. What tool was used to generate your certificate?
Good day. Could you suggest please how to solve this problem? I use..
I add to config.xml
<preference name="AndroidBlacklistSecureSocketProtocols" value="SSLv3,TLSv1" />
My function: