File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1010### Added
1111* New API command: setSslCrt
1212
13+ ### Fixed
14+ * Fix loading of payload in updateSslCrt/setSslCrt
15+
1316### Deprecated
1417* Deprecate API command: updateSslCrt
1518
Original file line number Diff line number Diff line change @@ -261,14 +261,14 @@ class newSslCrt(Cmd):
261261
262262class setSslCrt (Cmd ):
263263 """" Begin a transaction to upload the certificate into a slot in HAProxy’s memory """
264- cmdTxt = "set ssl cert %(certfile)s <<\n %(payload)s\r \ n "
264+ cmdTxt = "set ssl cert %(certfile)s <<\n %(payload)s\n "
265265 req_args = ['certfile' , 'payload' ]
266266 helpTxt = "Replace a certificate file."
267267
268268
269269class updateSslCrt (Cmd ):
270270 """" DEPRECATED. Begin a transaction to upload the certificate into a slot in HAProxy’s memory """
271- cmdTxt = "set ssl cert %(certfile)s <<\n %(payload)s\r \ n "
271+ cmdTxt = "set ssl cert %(certfile)s <<\n %(payload)s\n "
272272 req_args = ['certfile' , 'payload' ]
273273 helpTxt = "DEPRECATED. Alias for setSslCrt. Kept for compatibility reasons."
274274
You can’t perform that action at this time.
0 commit comments