Bug 971337
Summary: | No correct error message is shown when adding SSL with empty content of the key files from website | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | joycezhang <jinzhang> |
Component: | Website | Assignee: | Jessica Forrester <jforrest> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | tfeng, wsun |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-07-22 15:16:01 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
joycezhang
2013-06-06 10:08:26 UTC
The broker should be returning an error in this case, not the clients. The code on broker was recently changed to accommodate for cases where the console sends an empty string for params that are not specified by user. So the broker now treats empty strings as nil. Since, the SSL parameters are optional for alias creation and the values are empty (nil) then the alias is created without a certificate and no error is thrown. We can change the broker back to throwing errors when the values for the following parameters is an empty string. But the console then should not send empty strings for nil or not specified values. ssl_certificate private_key pass_phrase Going to spend time re-writing this area of the code. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/0f1e06d8ede66b613db946bc5d784203fdaffdca Bug 971337 - cleanup alias form errors Add alias views for new and edit Get existing aliases test cases working with new routing and templates Add new test cases to cover SSL cert errors for empty or missing files Grammar corrections for ssl cert messages Show form errors on alias edit Add test case for errors on alias edit form Testcase for create alias with a cert Rename PersistentConnectionError to ResetConnectionError Fix typo Verified on devenv_3149 After adding SSL for an alias with empty file,it returns "SSL certificate file was empty." |