When importing PEM certificates, ignore leading/trailing whitespace

Description

Yesterday, Dave and me were installing the LetsEncrypt intermediate CA certificates in Openfire, which failed because of a trailing whitespae in the PEM representation. The parser that we use is very strict, and disallows the PEM.

We should pre-process the input, and remove leading and trailing spaces from each line of the PEM certificate. That'll allow people to copy/paste with ease.

Environment

None

Activity

Show:

Guus der Kinderen December 17, 2015 at 11:31 AM

Fixed

Details

Assignee

Reporter

Expected Effort

Minimal

Components

Fix versions

Priority

Created December 17, 2015 at 11:28 AM
Updated January 5, 2016 at 8:29 AM
Resolved January 5, 2016 at 8:29 AM