Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Setting 2way SSL between Apigee and Django app

Not applicable

Hello,

I want to set 2way SSL between Apigee Proxy and Django App which is served by waitress.

I imported 3 certifies(root, intermediate, leap) on my backend server.

If I set SSL between Apigee and Django app, Do I also have to set https configuration for the application as well? (Like, editing configuration file for <VirtualHost> Block on Apache server)

Currently, when I access endpoint through Apigee proxy, it returns 504 timeout error message as below.

{"fault":{"faultstring":"Bad Gateway","detail":{"errorcode":"messaging.adaptors.http.flow.BadGateway"}}}

Is there any one who has experience setting up SSL for Django App? Any tips for me? Thanks

Solved Solved
0 5 634
1 ACCEPTED SOLUTION

Assuming that your Django app is the Apigee API Target. You will need to provide much more details to get help.

1. Is this a one way or two way TLS ?

Have you tried

  1. debugging network connectivity between the Apigee Message Processor and the Django app?
  2. Troubleshooting the TLS handshake ? Look at the message processor logs for why it fails to connect, on the Django app side see it a handshake is initiated at all? If yes, why is it rejected or getting hung?

View solution in original post

5 REPLIES 5