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
[Bug]: Authenticated API not correctly attaching self-signed certificates #21608
Comments
Is there any option to disable SSL check within appsmith? Can confirm the error. Execution failed with status PE-RST-5000 -org.springframework.web.reactive.function.client.WebClientRequestException TEST via CLI
DOCKER LOG
|
This issue does not seem valid with v1.9.19. To verify I have followed all the steps as provided in the description, except Appsmith instance was running on my local. I think there is a minor error in the way the test is described. Apart from attaching the self signed certificate we also need to provide the username and password info via the REST API header which turns out to be
Also, as per my understanding, we cannot use ngrok with the python server since ngrok would expose a different endpoint for which we don't have the self signed certificate (the Python script provided creates the self signed certificate for the localhost endpoint). |
Is there an existing issue for this?
Description
Currently, when we have an API that requires authentication through self-signed certificates, even if we attach our PEM file, Appsmith is not able to read it and displays the following error:
Example video:
certificates.mp4
Steps To Reproduce
Note: install these libraries: pip install flask && pip install cryptography
2. Run this curl command from the directory where you executed the Python code to verify a successful connection.
3. Expose port 5000 through Ngrok to connect to it from Appsmith.
4. Create your data source in Appsmith with an authenticated API.
5. In the URL field, put the URL that Ngrok gave you, plus this endpoint: /protected.
6. Attach the cert.pem certificate generated by the Python code.
Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Appsmith v1.9.12-SNAPSHOT/ Cloud Appsmith Community v1.9.12
The text was updated successfully, but these errors were encountered: