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

Local Forgerock minikube instance not working for Frodo - Self Signed Certificates #468

Open
simonpinkney opened this issue Jan 11, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@simonpinkney
Copy link

I have done a local Minikube forgeops setup like https://docs.pingidentity.com/forgeops/7.5/index.html

This works fine from the browser

If I do ...

frodo conn add https://forgeops.example.com/am [email protected] '*****' --debug --curlirize

I get
undefined Error getting tokens connect EHOSTUNREACH 192.168.49.2:443

The equivalent curl is
curl -X GET -H "Accept:application/json, text/plain, /" -H "Content-Type:application/json" -H "User-Agent:@rockcarver/frodo-lib/3.0.0" -H "X-ForgeRock-TransactionId:frodo-a4b25a8a-dfba-4aa8-87bf-7f1f7d8c75e6" -H "Accept-API-Version:resource=1.1" "https://forgeops.example.com/am/json/serverinfo/*"

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it

But if I add -k, it works, aka self signed certificate
curl -k -X GET -H "Accept:application/json, text/plain, /" -H "Content-Type:application/json" -H "User-Agent:@rockcarver/frodo-lib/3.0.0" -H "X-ForgeRock-TransactionId:frodo-a4b25a8a-dfba-4aa8-87bf-7f1f7d8c75e6" -H "Accept-API-Version:resource=1.1" "https://forgeops.example.com/am/json/serverinfo/"
{"_id":"
","_rev":"1352294780","domains":[],"protectedUserAttributes":["telephoneNumber","mail"],"cookieName":"iPlanetDirectoryPro","secureCookie":true,"forgotPassword":"false","forgotUsername":"false","kbaEnabled":"false","selfRegistration":"false","lang":"en-US","successfulUserRegistrationDestination":"default","socialImplementations":[],"referralsEnabled":"false","zeroPageLogin":{"enabled":false,"refererWhitelist":[],"allowedWithoutReferer":true},"realm":"/","xuiUserSessionValidationEnabled":true,"fileBasedConfiguration":true,"userIdAttributes":[]}%

If this a bug or am I missing something, because there does seem to be a option for "insecure"
Cheers
Simon

@simonpinkney simonpinkney added the enhancement New feature or request label Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant