[SERVER-10346] User prompted for PEM passphrase twice when using SSLPEMKeyFile option Created: 26/Jul/13 Updated: 20/Jul/20 Resolved: 29/Oct/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security |
| Affects Version/s: | 2.5.1 |
| Fix Version/s: | 4.1.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Spencer Jackson | Assignee: | Spencer Jackson |
| Resolution: | Done | Votes: | 0 |
| Labels: | platforms_security | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Steps To Reproduce: | ./mongod --sslOnNormalPorts --sslPEMKeyFile certwithprivkey.pem |
||||
| Sprint: | Platforms 2017-07-10, Platforms 2017-07-31, Security 2018-10-08, Security 2018-10-22, Security 2018-11-05 | ||||
| Participants: | |||||
| Case: | (copied to CRM) | ||||
| Description |
|
If starting a mongod/s with --sslPEMKeyFile but without --sslPEMKeyPassword the user is prompted for password twice, for the incoming and outgoing connection. |
| Comments |
| Comment by Githook User [ 29/Oct/18 ] |
|
Author: {'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}Message: |
| Comment by Andreas Nilsson [ 11/Aug/14 ] |
|
Look into using EVP_read_pw_string() |
| Comment by Andreas Nilsson [ 26/Jul/13 ] |
|
Alternative solutions:
|