Answer the question
In order to leave comments, you need to log in
Problem with OpenSSL
On hand there is a CRT file with a certificate for signing e-mail, you need to convert it into a PEM file for Apache.
I run the bat file:
The path to OpenSSL is registered in the PATH system. The certificate itself is in the same folder as openssl.exe.
I get:
What am I doing wrong?
openssl x509 -in cert.crt -out input.der -outform DER
pause
C:\Users\Максим\Desktop>openssl x509 -in cert.crt -out input.der -outform DER
Error opening Certificate cert.crt
4288:error:02001002:system library:fopen:No such file or directory:.\crypto\bio\
bss_file.c:398:fopen('cert.crt','rb')
4288:error:20074002:BIO routines:FILE_CTRL:system lib:.\crypto\bio\bss_file.c:40
0:
unable to load certificate
C:\Users\Максим\Desktop>pause
Для продолжения нажмите любую клавишу . . .
Answer the question
In order to leave comments, you need to log in
Well, he found the path to openssl according to PATH, but he doesn’t look for non-executable files in my opinion. Those. the current path remained C:\Users\Maxim\Desktop>, where, respectively, there is no certificate.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question