Apply the changes from e0c79ce598 to the `PrivateKeyParser` used for web server SSL configuration. See gh-32646
e0c79ce598