You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.
I add the myCA.pem in my macOS Mojave (10.14.6) Keychain system keychain and set trust to "Always trust"
I generate the localhost CSR private key and CRT signed by myCA thus end up with the following files (in order of creation): myCA.key, myCA.pem, localhost.key, localhost.csr, localhost.ext and finally localhost.crt (and also myCA.srl).
I copy localhost.key and localhost.crt to grove middletier and rename them to server.key and server.crt.
I add the following lines in middletier .env file:
In MarkLogic Server, I create a Certificate Template named "localhost" and organizationName = "MarkLogic Corporation" then click ok then go to the "Import" tab and upload the localhost.crt and localhost.key files generated at step 3.
In MarkLogic Server, I set my Data Hub FINAL DB application server to use SSL certificate "localhost" as well as set "ssl require client certificate" to false and "ssl client issuer authority verification" to false (I tried to set them both to true and loaded myCA.pem through Security > Certificate Authorities but it did not work)
Note that I tried to use "secure":true but I ended up with error UNABLE_TO_VERIFY_LEAF_SIGNATURE even though I have a reference to ca certificate... obviously not enough so it may require npm install ssl-root-cas as mentioned here: https://stackoverflow.com/questions/20082893/unable-to-verify-leaf-signature.
Another approach is to build and serve static files from middletier as mentioned here marklogic-community/grove-cli#12 but I get a different look and feel for some unknown reason so I commented out #GROVE_UI_BUILD_PATH=../ui/dist in middletier .env file.
Anyway in the end, adding NODE_TLS_REJECT_UNAUTHORIZED=0 to middletier .env allowed me to work around the issue so as a temporary solution although It's not secure.
I guess that at least the login password is not sent unencrypted especially since all of the above is working with SSO through LDAP integration (BTW I did not have to do anything special on the LDAP config side).
N.B.: I added mlFinalSimpleSsl=true to gradle.properties in order to be able to use the QuickStart against Final DB.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I get the following error when trying to log in:
{“message”:“Error: self signed certificate in certificate chain”}
Here are the steps I followed:
Note that I tried to use
"secure":true
but I ended up with errorUNABLE_TO_VERIFY_LEAF_SIGNATURE
even though I have a reference to ca certificate... obviously not enough so it may requirenpm install ssl-root-cas
as mentioned here: https://stackoverflow.com/questions/20082893/unable-to-verify-leaf-signature.Another approach is to build and serve static files from middletier as mentioned here marklogic-community/grove-cli#12 but I get a different look and feel for some unknown reason so I commented out
#GROVE_UI_BUILD_PATH=../ui/dist
in middletier .env file.Anyway in the end, adding
NODE_TLS_REJECT_UNAUTHORIZED=0
to middletier .env allowed me to work around the issue so as a temporary solution although It's not secure.I guess that at least the login password is not sent unencrypted especially since all of the above is working with SSO through LDAP integration (BTW I did not have to do anything special on the LDAP config side).
N.B.: I added
mlFinalSimpleSsl=true
to gradle.properties in order to be able to use the QuickStart against Final DB.The text was updated successfully, but these errors were encountered: