Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If an SSL error would occur then Armadillo Client should provide more informational error message #56

Open
christianhilbrands opened this issue Jun 7, 2022 · 0 comments
Labels

Comments

@christianhilbrands
Copy link
Contributor

Issue:

When you try to get a token from armadillo in R you get an error that say's:
Error in curl:curl_fetch_memory(url, handle = handle) :
SSL certificate problem: unable to get local issuer certificate

Cause:

The cause is that armadillo server uses three different certificates for three different applications that need to talk to each other. Because it is not known which certificate gives the difficulties, it is not clear what certificate gives the issues. When you use let's encrypt, every part of the certificate(certificate, fullchain, private key) are stored in a different file.

(Proposed) solution:

If an SSL error would occur, let RStudio/RServer print the domain(armadillo.{domain}, armadillo-auth.{domain}...) in audition of the SSL error.
Example:
Error in curl:curl_fetch_memory(url, handle = handle) :
SSL certificate problem: unable to get local issuer certificate from {domain}

@christianhilbrands christianhilbrands added the bug Something isn't working label Jun 7, 2022
@mswertz mswertz added enhancement New feature or request and removed bug Something isn't working labels Jul 28, 2022
@mswertz mswertz changed the title SSL If an SSL error would occur then Armadillo Client should provide more informational error message Jul 28, 2022
@mswertz mswertz transferred this issue from molgenis/molgenis-service-armadillo Jul 28, 2022
@mswertz mswertz added enhancement New feature or request and removed enhancement New feature or request labels Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants