Created attachment 680051 [details] page content Description of problem: After removing ssl from an application and accessing the app's origin url, I was always redirected to the OpenShift's web console page(https://rubyapp-462t1.dev.rhcloud.com/app). But custom domain url(alias) still works well, which shows the app's actual web page content Version-Release number of selected component (if applicable): fork_ami_US1262_SNI_426 How reproducible: Always Steps to Reproduce: 1. Create an application with alias 2. Add ssl cert to app, access app via both url and alias should work fine oo-ssl-cert-add --with-container-uuid 7aa82d65fb464fe48a30eb7f10c3d8c1 --with-namespace 426t3 --with-container-name py1 --with-alias-name py1.jhou.com --with-ssl-cert server.crt server.crt --with-priv-key server.key 3. Remove ssl from app oo-ssl-cert-remove --with-container-uuid 7aa82d65fb464fe48a30eb7f10c3d8c1 --with-namespace 426t3 --with-container-name py1 --with-alias-name py1.jhou.com --with-ssl-cert server.crt server.crt --with-priv-key server.key 4. Visit app's origin url Actual results: Redirected to url/app eg: visiting https://py1-426t3.dev.rhcloud.com/ will be redirected to https://py1-426t3.dev.rhcloud.com/app And the webpage content is same with OpenShift web consle. Expected results: App should work fine. Additional info: The page content and the url is save and attached
Fixed in mrunalp/origin-server/dev/sni_l branch. Fix will be available in the next fork_ami.
Verified on fork_ami_US1262_SNI_432 The app works fine after removing cert and key Steps: 1. oo-ssl-cert-remove --with-container-name php1 --with-container-uuid c1cb7e53a57a4d759b760860eff26ee0 --with-namespace 432t --with-alias-name php1.jhou.com --with-ssl-cert server.crt --with-priv-key server.key 2. Visit app's origin url, still works fine