[SERVER-38430] Rename tlsPEMKeyFile and tlsPEMKeyPassword in client and server Created: 05/Dec/18  Updated: 29/Oct/23  Resolved: 03/Jan/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.1.7

Type: Improvement Priority: Major - P3
Reporter: Sara Golemon Assignee: Jonathan Reams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-12329 Docs for SERVER-38430: Rename tlsPEMK... Closed
Backwards Compatibility: Minor Change
Sprint: Security 2018-12-31, Security 2019-01-14
Participants:

 Description   

To unify with mongodb:// URI options, we'll rename the tlsPEMKeyFile/tlsPEMKeyPassword to tlsCertificateKeyFile/tlsCertificateKeyFilePassword.

Also, since tlsPEMKeyFile/Password were only just introduced in the 4.1 dev branch (renamed from ssl*), we'll remove the tlsPEMKeyFile/Password settings entirely, leaving only the ssl* variants as deprecated aliases.

The idl definitions in ssl_options_server.idl and ssl_options_client.idl would thus look like:

  "net.tls.certificateKeyFile":       # Changed from "net.tls.PEMKeyFile"
    description: "PEM file for TLS"
    short_name: tlsCertificateKeyFile   # Changed from "tlsPEMKeyFile"
    deprecated_name: "net.ssl.PEMKeyFile"
    deprecated_short_name: sslPEMKeyFile
    arg_vartype: String
  "net.tls.certificateKeyFilePassword":      # Changed form "net.tls.PEMKeyPassword"
    description: "PEM file password"
    short_name: tlsCertificateKeyFilePassword       # Changed from: tlsPEMKeyPassword
    deprecated_name: "net.ssl.PEMKeyPassword"
    deprecated_short_name: sslPEMKeyPassword
    arg_vartype: String
    cpp_varname: sslGlobalParams.sslPEMKeyPassword
    implicit: ''



 Comments   
Comment by Githook User [ 03/Jan/19 ]

Author:

{'username': 'jbreams', 'email': 'jbreams@mongodb.com', 'name': 'Jonathan Reams'}

Message: SERVER-38430 Rename tlsPEMKeyFile options to conform to driver URI spec
Branch: master
https://github.com/mongodb/mongo/commit/68832e1f70fa4571673ab337ae2e529b04b67e6b

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