Can't load certificate

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
When I am trying to sign my cert I keep getting this error
[root@sls0626 CA]# openssl ca -out newcerts/testcert.pem -infiles
requests/testcsr.pem
Using configuration from /etc/pki/tls/openssl.cnf
unable to load certificate
139675024402320:error:0906D06C:PEM routines:PEM_read_bio:no start
line:pem_lib.c:707:Expecting: TRUSTED CERTIFICATE
I have check that the cacert.pem is not corrupted, serial has number in the file, permissions are 755
What would be causing this problem?
openssl certificates
add a comment |Â
up vote
0
down vote
favorite
When I am trying to sign my cert I keep getting this error
[root@sls0626 CA]# openssl ca -out newcerts/testcert.pem -infiles
requests/testcsr.pem
Using configuration from /etc/pki/tls/openssl.cnf
unable to load certificate
139675024402320:error:0906D06C:PEM routines:PEM_read_bio:no start
line:pem_lib.c:707:Expecting: TRUSTED CERTIFICATE
I have check that the cacert.pem is not corrupted, serial has number in the file, permissions are 755
What would be causing this problem?
openssl certificates
1
no start linemessage means openssl counldn't find headers----- BEGIN RSA ... -----. I bet that yourrequests/testcsr.pemis ill-formed.
â Kamil Cuk
Jun 22 at 15:47
the CSR has -----BEGIN CERTIFICATE REQUEST----- -----END CERTIFICATE REQUEST-----
â user3071814
Jun 22 at 19:29
The file/etc/pki/tls/openssl.cnfwill have a section for the CA, within which should be an option calledcertificates. Check that the file pointed to by this option is well formed as @KamilCuk suggests.
â garethTheRed
Jun 24 at 6:59
This is what is in the openssl.cnf certificate = $dir/cacert.pem # The CA certificate [root@xxxxxxx CA]# ls -l total 12 -rwxr-xr-x. 1 root root 1675 Jun 21 14:09 cacert.pem -rwxr-xr-x. 1 root root 3604 Jun 22 14:13 CA.pem drwxr-xr-x. 2 root root 6 Jun 20 11:29 certs drwxr-xr-x. 2 root root 6 Dec 13 2017 crl -rwxr-xr-x. 1 root root 0 Jun 21 11:25 index.txt drwxr-xr-x. 2 root root 6 Jun 21 14:03 newcerts drwxr-xr-x. 2 root root 46 Jun 22 13:53 private drwxr-xr-x. 2 root root 24 Jun 22 13:34 requests -rwxr-xr-x. 1 root root 5 Jun 21 11:26 serial
â user3071814
Jun 25 at 12:54
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
When I am trying to sign my cert I keep getting this error
[root@sls0626 CA]# openssl ca -out newcerts/testcert.pem -infiles
requests/testcsr.pem
Using configuration from /etc/pki/tls/openssl.cnf
unable to load certificate
139675024402320:error:0906D06C:PEM routines:PEM_read_bio:no start
line:pem_lib.c:707:Expecting: TRUSTED CERTIFICATE
I have check that the cacert.pem is not corrupted, serial has number in the file, permissions are 755
What would be causing this problem?
openssl certificates
When I am trying to sign my cert I keep getting this error
[root@sls0626 CA]# openssl ca -out newcerts/testcert.pem -infiles
requests/testcsr.pem
Using configuration from /etc/pki/tls/openssl.cnf
unable to load certificate
139675024402320:error:0906D06C:PEM routines:PEM_read_bio:no start
line:pem_lib.c:707:Expecting: TRUSTED CERTIFICATE
I have check that the cacert.pem is not corrupted, serial has number in the file, permissions are 755
What would be causing this problem?
openssl certificates
edited Jun 22 at 15:27
Debian_yadav
8322522
8322522
asked Jun 22 at 13:56
user3071814
1
1
1
no start linemessage means openssl counldn't find headers----- BEGIN RSA ... -----. I bet that yourrequests/testcsr.pemis ill-formed.
â Kamil Cuk
Jun 22 at 15:47
the CSR has -----BEGIN CERTIFICATE REQUEST----- -----END CERTIFICATE REQUEST-----
â user3071814
Jun 22 at 19:29
The file/etc/pki/tls/openssl.cnfwill have a section for the CA, within which should be an option calledcertificates. Check that the file pointed to by this option is well formed as @KamilCuk suggests.
â garethTheRed
Jun 24 at 6:59
This is what is in the openssl.cnf certificate = $dir/cacert.pem # The CA certificate [root@xxxxxxx CA]# ls -l total 12 -rwxr-xr-x. 1 root root 1675 Jun 21 14:09 cacert.pem -rwxr-xr-x. 1 root root 3604 Jun 22 14:13 CA.pem drwxr-xr-x. 2 root root 6 Jun 20 11:29 certs drwxr-xr-x. 2 root root 6 Dec 13 2017 crl -rwxr-xr-x. 1 root root 0 Jun 21 11:25 index.txt drwxr-xr-x. 2 root root 6 Jun 21 14:03 newcerts drwxr-xr-x. 2 root root 46 Jun 22 13:53 private drwxr-xr-x. 2 root root 24 Jun 22 13:34 requests -rwxr-xr-x. 1 root root 5 Jun 21 11:26 serial
â user3071814
Jun 25 at 12:54
add a comment |Â
1
no start linemessage means openssl counldn't find headers----- BEGIN RSA ... -----. I bet that yourrequests/testcsr.pemis ill-formed.
â Kamil Cuk
Jun 22 at 15:47
the CSR has -----BEGIN CERTIFICATE REQUEST----- -----END CERTIFICATE REQUEST-----
â user3071814
Jun 22 at 19:29
The file/etc/pki/tls/openssl.cnfwill have a section for the CA, within which should be an option calledcertificates. Check that the file pointed to by this option is well formed as @KamilCuk suggests.
â garethTheRed
Jun 24 at 6:59
This is what is in the openssl.cnf certificate = $dir/cacert.pem # The CA certificate [root@xxxxxxx CA]# ls -l total 12 -rwxr-xr-x. 1 root root 1675 Jun 21 14:09 cacert.pem -rwxr-xr-x. 1 root root 3604 Jun 22 14:13 CA.pem drwxr-xr-x. 2 root root 6 Jun 20 11:29 certs drwxr-xr-x. 2 root root 6 Dec 13 2017 crl -rwxr-xr-x. 1 root root 0 Jun 21 11:25 index.txt drwxr-xr-x. 2 root root 6 Jun 21 14:03 newcerts drwxr-xr-x. 2 root root 46 Jun 22 13:53 private drwxr-xr-x. 2 root root 24 Jun 22 13:34 requests -rwxr-xr-x. 1 root root 5 Jun 21 11:26 serial
â user3071814
Jun 25 at 12:54
1
1
no start line message means openssl counldn't find headers ----- BEGIN RSA ... -----. I bet that your requests/testcsr.pem is ill-formed.â Kamil Cuk
Jun 22 at 15:47
no start line message means openssl counldn't find headers ----- BEGIN RSA ... -----. I bet that your requests/testcsr.pem is ill-formed.â Kamil Cuk
Jun 22 at 15:47
the CSR has -----BEGIN CERTIFICATE REQUEST----- -----END CERTIFICATE REQUEST-----
â user3071814
Jun 22 at 19:29
the CSR has -----BEGIN CERTIFICATE REQUEST----- -----END CERTIFICATE REQUEST-----
â user3071814
Jun 22 at 19:29
The file
/etc/pki/tls/openssl.cnf will have a section for the CA, within which should be an option called certificates. Check that the file pointed to by this option is well formed as @KamilCuk suggests.â garethTheRed
Jun 24 at 6:59
The file
/etc/pki/tls/openssl.cnf will have a section for the CA, within which should be an option called certificates. Check that the file pointed to by this option is well formed as @KamilCuk suggests.â garethTheRed
Jun 24 at 6:59
This is what is in the openssl.cnf certificate = $dir/cacert.pem # The CA certificate [root@xxxxxxx CA]# ls -l total 12 -rwxr-xr-x. 1 root root 1675 Jun 21 14:09 cacert.pem -rwxr-xr-x. 1 root root 3604 Jun 22 14:13 CA.pem drwxr-xr-x. 2 root root 6 Jun 20 11:29 certs drwxr-xr-x. 2 root root 6 Dec 13 2017 crl -rwxr-xr-x. 1 root root 0 Jun 21 11:25 index.txt drwxr-xr-x. 2 root root 6 Jun 21 14:03 newcerts drwxr-xr-x. 2 root root 46 Jun 22 13:53 private drwxr-xr-x. 2 root root 24 Jun 22 13:34 requests -rwxr-xr-x. 1 root root 5 Jun 21 11:26 serial
â user3071814
Jun 25 at 12:54
This is what is in the openssl.cnf certificate = $dir/cacert.pem # The CA certificate [root@xxxxxxx CA]# ls -l total 12 -rwxr-xr-x. 1 root root 1675 Jun 21 14:09 cacert.pem -rwxr-xr-x. 1 root root 3604 Jun 22 14:13 CA.pem drwxr-xr-x. 2 root root 6 Jun 20 11:29 certs drwxr-xr-x. 2 root root 6 Dec 13 2017 crl -rwxr-xr-x. 1 root root 0 Jun 21 11:25 index.txt drwxr-xr-x. 2 root root 6 Jun 21 14:03 newcerts drwxr-xr-x. 2 root root 46 Jun 22 13:53 private drwxr-xr-x. 2 root root 24 Jun 22 13:34 requests -rwxr-xr-x. 1 root root 5 Jun 21 11:26 serial
â user3071814
Jun 25 at 12:54
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451318%2fcant-load-certificate%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
no start linemessage means openssl counldn't find headers----- BEGIN RSA ... -----. I bet that yourrequests/testcsr.pemis ill-formed.â Kamil Cuk
Jun 22 at 15:47
the CSR has -----BEGIN CERTIFICATE REQUEST----- -----END CERTIFICATE REQUEST-----
â user3071814
Jun 22 at 19:29
The file
/etc/pki/tls/openssl.cnfwill have a section for the CA, within which should be an option calledcertificates. Check that the file pointed to by this option is well formed as @KamilCuk suggests.â garethTheRed
Jun 24 at 6:59
This is what is in the openssl.cnf certificate = $dir/cacert.pem # The CA certificate [root@xxxxxxx CA]# ls -l total 12 -rwxr-xr-x. 1 root root 1675 Jun 21 14:09 cacert.pem -rwxr-xr-x. 1 root root 3604 Jun 22 14:13 CA.pem drwxr-xr-x. 2 root root 6 Jun 20 11:29 certs drwxr-xr-x. 2 root root 6 Dec 13 2017 crl -rwxr-xr-x. 1 root root 0 Jun 21 11:25 index.txt drwxr-xr-x. 2 root root 6 Jun 21 14:03 newcerts drwxr-xr-x. 2 root root 46 Jun 22 13:53 private drwxr-xr-x. 2 root root 24 Jun 22 13:34 requests -rwxr-xr-x. 1 root root 5 Jun 21 11:26 serial
â user3071814
Jun 25 at 12:54