Project

General

Profile

Actions

Bug #9118

closed

stunnel does not ensure a newline exists between certificate components

Added by Jim Pingle over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
stunnel
Target version:
-
Start date:
11/14/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:
All

Description

stunnel wants the private key, certificate, etc all inside a single file. However, it does not ensure that a newline exists between each component. If a user imports a private key without a newline at the end, it can lead to a badly formatted stunnel certificate, for example:

-----BEGIN PRIVATE KEY-----
[...]
-----END PRIVATE KEY----------BEGIN CERTIFICATE-----
[...]
-----END CERTIFICATE-----
Actions

Also available in: Atom PDF