{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Private Cloud Deployment /
avatar image
0
Question by Jesse Johnson · Apr 17, 2019 at 09:04 PM · 485 Views sso

SSO and HTTPS Certificate issues?

I initially setup sso with self signed certificates and http per the documentation. Now I'm following the doc to enable https on sso with SSL Termination. After updating the config file and recreating the certificates with our DigiCert signed certificate I run the sso setup and it hangs on set 3/5. See Below:

-----------------------------------------------------------
[SETUP STAGE] (3/5): Starting and initializing "apigee-sso"
-----------------------------------------------------------
Restarting apigee-sso service
apigee-service: apigee-sso: pid=28056
apigee-service: apigee-sso: OK
apigee-service: apigee-sso: Not running (DEAD)
apigee-service: apigee-sso: OK
apigee-configutil: apigee-sso: # OK
apigee-service: apigee-sso: Not running (NO_LOCKFILE)
apigee-service: apigee-sso: status=2, continuing
apigee-service: apigee-sso: OK
apigee-service: apigee-sso: apigee-sso is running

I can't seem to find a decent log of what may be hanging this up. Does anyone know where I can look? or anyone run into this issue before?

Comment
Add comment Show 2
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Jesse Johnson · Apr 22, 2019 at 07:26 PM 0
Link

Seeing this in the apigee-sso error logs

Caused by: org.springframework.beans.PropertyBatchUpdateException: Failed properties: Property 'signingKey' threw exception; nested exception is java.lang.IllegalArgumentException: Base64-encoded string must have at least four characters, but length specified was 1

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'signerProvider' defined in ServletContext resource [/WEB-INF/spring/oauth-endpoints.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'signingKey' threw exception; nested exception is java.lang.IllegalArgumentException: Base64-encoded string must have at least four characters, but length specified was 1

avatar image Alain Kusters · May 31, 2019 at 12:39 PM 0
Link

Did this get resolved, I cant get past this either and its been 2 weeks.

Close

3 Answers

  • Sort: 
avatar image
0

Answer by Jesse Johnson · May 31, 2019 at 02:23 PM

Support took too long.... I ended up changing from SSL Termination to SSL Proxy via our F5. But even that still presented some challenges....But what instruction they eventually gave me may be what is needed for SSL Termination too...

None of the following is in the documentation BTW... The certificate presented from your IDP, in our case Okta, has to be added in as a trusted CA within java, and the certificate being used to terminate at the F5 has to be added also....

Using keytool and the crt files for both you can use the following as a template to add both.

keytool -importcert -alias okta -keystore /usr/lib/jvm/java-1.8.0-openjdk/jre/lib/security/cacerts -file /tmp/okta.cert

Once I imported both, everything started working correctly.

Comment
Add comment Show 1 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Alain Kusters · May 31, 2019 at 02:35 PM 0
Link

This is exactly what I was after, I knew there was something missing in the docs! I've really been at this far too long, I was giving up hope.

I'll test and let everyone know if this the missing link for me as well.

Thank you for the prompt responce!

avatar image
0

Answer by Mudassir Mehmood · Dec 31, 2020 at 11:45 AM

Its been 2 weeks, facing the same issue, but setup sso with self signed certificates and HTTP as per the documentation.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Priyadarshi Ajitav Jena · Dec 31, 2020 at 12:39 PM

I doubt the issue in 2 places.

1. The connection to internet is not there, so the CA certificate verification is not happening.

2. The SSO metadata file shared by the SSO team is not working working properly for trusted CA.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

57 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

4.50.00 OPDK new UI configured with SSO still asking for Basic Auth creds 0 Answers

redirect uri 1 Answer

Why IDP needs to enable for opdk and how to use Open LDAP for it? 0 Answers

Internal error while logging in to Edge UI through SSO 1 Answer

SSO get passcode programatically 1 Answer

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Articles
  • Ideas
  • Badges