Hello guys, does anyone had this type of issue for SSL Pinning plugin?Cant generate the app in QUA
2024-01-17T10:09:08.546Z] [ERROR] [Build] Failed to install 'cordova-outsystems-sslpinning': CordovaError: Invalid HPKP configuration provided
[2024-01-17T10:09:08.546Z] [ERROR] [Build] at source/plugins/cordova-outsystems-sslpinning/hooks/check_requirements.js:15:29
[2024-01-17T10:09:08.546Z] [ERROR] [Build] at _fulfilled (source/plugins/cordova-outsystems-sslpinning/hooks/node_modules/q/q.js:854:54)
[2024-01-17T10:09:08.546Z] [ERROR] [Build] at source/plugins/cordova-outsystems-sslpinning/hooks/node_modules/q/q.js:883:30
[2024-01-17T10:09:08.546Z] [ERROR] [Build] at Promise.promise.promiseDispatch (source/plugins/cordova-outsystems-sslpinning/hooks/node_modules/q/q.js:816:13)
[2024-01-17T10:09:08.546Z] [ERROR] [Build] at source/plugins/cordova-outsystems-sslpinning/hooks/node_modules/q/q.js:570:49
[2024-01-17T10:09:08.546Z] [ERROR] [Build] at runSingle (source/plugins/cordova-outsystems-sslpinning/hooks/node_modules/q/q.js:137:13)
[2024-01-17T10:09:08.546Z] [ERROR] [Build] at flush (source/plugins/cordova-outsystems-sslpinning/hooks/node_modules/q/q.js:125:13)
[2024-01-17T10:09:08.546Z] [ERROR] [Build] at processTicksAndRejections (node:internal/process/task_queues:78:11)
[2024-01-17T10:09:08.546Z] [ERROR] [Build] CordovaError: Invalid HPKP configuration provided
[2024-01-17T10:09:08.546Z] [ERROR] [Build] Invalid HPKP configuration provided
Hi Carlos,Make sure you are using the correct Hash values in the Pinning.Json file added as a resource.
1- You can also validate the same either using commands or a third-party site:https://www.sslshopper.com/certificate-key-matcher.html
2- Make sure the pinning.json is correctly added as per doc; ex: JSON is valid & the deploy option is correct: https://success.outsystems.com/documentation/11/extensibility_and_integration/mobile_plugins/ssl_pinning_plugin/
Hope it helps,Good Luck
Got it solved, ty for the help!
Hey Carlos,
Besides the suggestion made by @assif_tiger, can you update the plugin to the latest 7.0.1 version and check if you're still facing the same issue?
Best regards.