简体   繁体   中英

Wrong certificate in inter gear communication on Openshift

I have two small gears on openshift with a custom domain name an my own SSL certificate.

When I access my gear from outside, they respond as expected with my own SSL certificate. But if I access own gear from the otherone, it still advertises with generic *.rhcloud.com certificate, when if I use my own domain name.

Does anyone know how to fix this?

OpenShift Online uses an Apache server in front of your gears for SSL termination and handling of custom domain names. When you setup a custom domain and SSL certificate on OpenShift Online the configuration was pushed to that Apache server, not to your individual gears.

Also, what sort of communication are you performing between your different gears? If you could provide some more concrete details on what you are trying to accomplish I could probably point you in the direction of how that is usually done on OpenShift.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM