New server administrator here. I am trying to enable SSL on our website that runs on Windows Server 2016.
I'm using ACME PHP (version 1.1.1) since we already have PHP7 installed on the server. However, when I try to register an email address with Let & # 39; s Encrypt (in PowerShell, it runs as administrator), the following error appears:
PS C: ...> php. Acmephp.phar register firstname.lastname@example.org A couple of account keys were not found, generating a ... On line 68 of KeyPairGenerator.php: Can not generate a KeyPair with the options given On line 25 of OpensslPrivateKeyGeneratorTrait.php: The creation of the OpenSSL key failed during failed generation: error: 0909006C: PEM Routines: get_name: no start line registry [--agreement AGREEMENT] [-k|--key-type KEY-TYPE] [--] The[[
I have researched a little, but I can not find any solution. There is a similar problem here, but that comes down to not having openSSL in your PHP version. When I do it
php -i I get
openssl OpenSSL support => enabled Version of the OpenSSL library => OpenSSL 1.1.1b February 26, 2019 OpenSSL header version => OpenSSL 1.1.1b February 26, 2019 Default configuration of Openssl => C: usr local ssl / openssl.cnf Directive => Local value => Master value openssl.cafile => no value => no value openssl.capath => no value => no value
So I do not think that's the problem. There is also this response to the error "there is no start line", but since the key is never generated, I can not verify what kind of line endings the key contains.
At this point, I thought I would skip this step by generating the RSA keys with Git Bash. I've done it, but now I can not find any documentation on where to put them so that Acmephp finds them. I have tried every variation of
~ / .acmephp / master / account As far as I can think, but Acmephp never finds it and still tries to generate its own pair.
I'm not sure where to go, any ideas?