Open jkozol opened 7 years ago
We did this because without importing a key to our java keystore, we would be running clotho with no SSL certificates, thereby failing the SSL handshake and making our rest endpoint unreachable and untestable.
We adapted the provideKeyStore() function from ClothoTestModule.java and used it in ClothoModule.java in order to generate a certificate on the fly so that we can perform tests on the REST API.
Layering a better temporary fix on top of this one, I have edited ClothoWebServer.java to stop forcing all connections and requests to HTTPS. I commented out the confidential constraint and replaced it with a relaxed constraint. This can be undone at a later point.
We have a temporary ssl keystore working in ClothoModule.java. This needs to be changed.