Hi!
I am trying to set up an openssl script (also see http://forums.smallnetbuilder.com/showpost.php?p=89025&postcount=78), but performing the openssl command ends with a strange error message.
The openssl command is:
The whole thing is executed in the /jffs/configs directory for testing purposes. "plain.txt" is just an random plain text file in the same directory. "public.pem" is a public key file in PEM (=ascii) format, also located in the aforesaid directory.
The openssl error message is:
Since it includes things like "system library" and "fopen" I guess it might be caused by some router openssl problem and not the directive? Can someone help?
I am trying to set up an openssl script (also see http://forums.smallnetbuilder.com/showpost.php?p=89025&postcount=78), but performing the openssl command ends with a strange error message.
The openssl command is:
Code:
openssl smime -encrypt -aes256 public.pem -in plain.txt -out mail.txt
The openssl error message is:
Code:
Error opening recipient certificate file public.pem
718430992:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('public.pem','r')
718430992:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:
unable to load certificate
Since it includes things like "system library" and "fopen" I guess it might be caused by some router openssl problem and not the directive? Can someone help?