Bug 1488861

Summary: Adding SSL certificate fails: undefined method `private?' for #<OpenSSL::PKey::EC:0x00000007949808>
Product: OpenShift Online Reporter: František Zatloukal <fzatlouk>
Component: UnknownAssignee: Abhishek Gupta <abhgupta>
Status: CLOSED EOL QA Contact: Xiaoli Tian <xtian>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 2.xCC: aos-bugs, jokerman, mmahut, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-22 22:56:37 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 František Zatloukal 2017-09-06 11:13:08 UTC
Description of problem:
Adding SSL certificate to an alias fails.

Version-Release number of selected component (if applicable):
OpenShift v2

How reproducible:
Always (tested only on one app/alias)

Steps to Reproduce:
1. Create new alias for some app
2. Try to add certificate during alias creation

Actual results:
Unable to complete the requested operation due to: undefined method `private?' for
#<OpenSSL::PKey::EC:0x00000007949808>
Reference ID: 7f64bfc2fc2fcd334359a804645d532c

Expected results:
It should be able to add SSL cert without an error.

Additional info:
Same issue with cli:
$ rhc alias-update-cert thesis -n managementsystem diplomky.redhat.com --certificate diplomky_redhat_com.crt --private-key diplomky.redhat.com.key

Unable to complete the requested operation due to: undefined method `private?' for
#<OpenSSL::PKey::EC:0x00000007949808>
Reference ID: 7f64bfc2fc2fcd334359a804645d532c

Adding cert to an existing alias via web ui doesn't show any eeror, just refreshes page without adding the cert.

Comment 2 Abhishek Gupta 2018-03-22 22:56:37 UTC
Apologies for not responding to this bug earlier. At this point our V2 platform has been discontinued (EoL) and I would encourage you to look at our V3 Online platform.

Plan comparison: https://www.openshift.com/pricing/index.html
Plan registration: https://manage.openshift.com/