Open ppazos opened 6 years ago
check
https://stackoverflow.com/questions/2308774/httpget-with-https-sslpeerunverifiedexception
https://stackoverflow.com/questions/31033751/embedded-tomcat-enable-ssl
https://stackoverflow.com/questions/36769351/grails-3-force-https-by-default
https://stackoverflow.com/questions/29273176/how-to-include-extra-files-when-building-a-war
https://stackoverflow.com/questions/30238592/where-to-place-resources-in-grails-3-project
The certificate of the server is frequently updated, so we need a method for notes to grab an updated certificate from time to time and use that.
Check https://github.com/escline/InstallCert/blob/master/InstallCert.java
Need to check the resource path in the ehrserver groovy client to see if the JKS is loaded.
https://github.com/ppazos/cabolabs-ehrserver-groovy/blob/master/src/com/cabolabs/ehrserver/EHRServerClient.groovy#L58-L62
This exception happens here: https://github.com/ppazos/cabolabs-ehrserver-groovy/blob/master/src/com/cabolabs/ehrserver/EHRServerClient.groovy#L125-L154