邮件列表#106668信息CGatePro@mail.stalker.com
从: Nikolay Dvoeglazov nikolay@dvoeglazov.ru <CGatePro@mail.stalker.com>
主题: Re: Lets Encrypt for CGP on WIndows
日期: Tue, 26 Dec 2017 11:20:13 -0800
到: <CGatePro>
X-Mailer: CommuniGate Pronto! HTML5 6.1.11.3149
Hello, Nicolas
Thank you for posting your script.
I've tried it and while it correctly updates the certificate and CA chain, I could not get it to update the private key, the CLI complained on the wrong PK format being the reason.
The private key variable looks absolutely fine with curly braces and removed line breaks. In fact, it looks just like the certificate and CA variable.

There are also a couple of typos with removing dashed lines. They should read "BEGIN" and "END".
I would appreciate if you could look into it, I am not proficient with CLI scripting and Perl.

Script is quite crude but works well for me:

https://pastebin.com/cN2ngVkG

Nicolas Hatier, ing. <nicolas.hatier@niversoft.com>
Niversoft idées logicielles - http://www.niversoft.com
On 2017-09-27 22:00, Nicolas Hatier nicolas.hatier@niversoft.com wrote:

I wrote a Perl script that uses CLI.pm to configure the new certificate automatically in CGP.

Nicolas Hatier, ing. <nicolas.hatier@niversoft.com>
Niversoft idées logicielles - http://www.niversoft.com

签署(FEED) 签署(DIGEST) 签署(INDEX) 不签署 联系 Listmaster