Closed parallels999 closed 1 year ago
Hi,
I do not have access to any Windows... but it seems a problem with your OpenSSL configuration. Please check that OpenSSL is properly configured in your installation, and you are able to use it from PHP.
Please check that OpenSSL is properly configured in your installation
I'm using xampp, i check it, and $t_decpkey
is not null now, but now i'm getting
error:0909006C:PEM routines:get_name:no start line
error:0909006C:PEM routines:get_name:no start line
error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
error:23077074:PKCS12 routines:PKCS12_pbe_crypt:pkcs12 cipherfinal error
error:2306A075:PKCS12 routines:PKCS12_item_decrypt_d2i:pkcs12 pbe crypt error
error:0907B00D:PEM routines:PEM_read_bio_PrivateKey:ASN1 lib
error:0909006C:PEM routines:get_name:no start line
error:0909006C:PEM routines:get_name:no start line
Hi,
googling a bit, it seems that it has to do with your pem file.
Maybe it has to do with Windows CRLF.
On linux everything works, but on windows not After debugging i found the problem here,
any ideas??
$t_decpkey
is null, andopenssl_error_string()
iserror:2006D080:BIO routines:BIO_new_file:no such file
https://github.com/dealfonso/sapp/blob/3d7f18a5c1f75f7f4b3b5773492487e78af2fc94/src/PDFDoc.php#L296-L301