Answers for "php afosto / yaac urn:ietf:params:acme:error:malformed 405"

PHP
0

php afosto / yaac urn:ietf:params:acme:error:malformed 405

I found the solution, error was on toDer function on Helper.php, I'm on windows and this returned an empty string.
Changed line from this:
$lines = explode(PHP_EOL, $pem);
To this:
$lines = preg_split('/\r\n|\r|\n/', $pem);

Now is working as expected

Thanks
Posted by: Guest on June-28-2020

Browse Popular Code Answers by Language