php afosto / yaac urn:ietf:params:acme:error:malformed 405 code example
Example: 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