[SERVER-45826] Backtrace when enabling SSL on OSX when using Externally Sourced Configuration File Values Created: 28/Jan/20  Updated: 29/Oct/23  Resolved: 12/Mar/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.0-rc0, 4.7.0

Type: Bug Priority: Minor - P4
Reporter: Dennis Kuczynski Assignee: Sara Golemon
Resolution: Fixed Votes: 0
Labels: debuggingWithSubmitter
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File SSLFullSuite_TestRSPemKeyPasswordWithLocalConfigurationServer_run9002.2020-01-28T00-14-18     HTML File cert-107937290    
Issue Links:
Backports
Depends
Gantt Dependency
Problem/Incident
Related
Backwards Compatibility: Minor Change
Operating System: OS X
Backport Requested:
v4.4, v4.2, v4.0
Steps To Reproduce:

On OSX

1. Startup a replica set using mongodb-macos-x86_64-enterprise-4.2.2 where the root config is retrieved via a YAML endpoint.
2. Update the YAML endpoint to enable SSL with PEM keys containing passwords and restart one of the mongods.
3. The mongod does not come up – and logs the attached backtrace.

Sprint: Security 2020-02-24, Security 2020-03-09, Security 2020-03-23
Participants:

 Description   

I am seeing a backtrace while testing with externally sourced config values and SSL with encrypted PEM key files on OSX. Linux tests seem fine.

I've attached the backtrace for mongodb-macos-x86_64-enterprise-4.2.2



 Comments   
Comment by Githook User [ 12/Mar/20 ]

Author:

{'name': 'Sara Golemon', 'username': 'sgolemon', 'email': 'sara.golemon@mongodb.com'}

Message: SERVER-45826 Detect and fail when using passphrase with PKCS1/8 on macOS

(cherry picked from commit 8a73ec08c15a86adeb4bd6232608171972ad7579)
Branch: v4.4
https://github.com/mongodb/mongo/commit/afaec7a9607dd91d0349051ea65dff5c4b6feda3

Comment by Githook User [ 12/Mar/20 ]

Author:

{'name': 'Sara Golemon', 'username': 'sgolemon', 'email': 'sara.golemon@mongodb.com'}

Message: SERVER-45826 Detect and fail when using passphrase with PKCS1/8 on macOS
Branch: master
https://github.com/mongodb/mongo/commit/8a73ec08c15a86adeb4bd6232608171972ad7579

Comment by Louisa Berger [ 28/Jan/20 ]

Priority note – we found this during our standard Automation testing, not through a customer report. 

Generated at Thu Feb 08 05:09:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.