Any way to validate a .pem file?
by JockVSJock from LinuxQuestions.org on (#5Q6CQ)
Is there a way to validate a .pem file that was created in a container? This is on RHEL8 (not an container). The container is Nexus.
When trying to validate with openssl command, get the following error:
Code:[user_a@host_a host_a-nexus.enclave.pem]$ openssl verify host_a-nexus.enclave.pem
unable to load certificate
139658552366912:error:0909006C:PEM routines:get_name:no start line:crypto/pem/pem_lib.c:745:Expecting: TRUSTED CERTIFICATE
When trying to validate with openssl command, get the following error:
Code:[user_a@host_a host_a-nexus.enclave.pem]$ openssl verify host_a-nexus.enclave.pem
unable to load certificate
139658552366912:error:0909006C:PEM routines:get_name:no start line:crypto/pem/pem_lib.c:745:Expecting: TRUSTED CERTIFICATE