Welcome to the Linux Foundation Forum!

Exercise 15.2: Authentication and Authorization

After Executing the below command:
sudo openssl x509 -req -in DevDan.csr \
-CA /etc/kubernetes/pki/ca.crt \
-CAkey /etc/kubernetes/pki/ca.key \
-CAcreateserial \
-out DevDan.crt -days 45

I am receiving the following error:
Can't open DevDan.csr for reading, No such file or directory
140016150630848:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:72:fopen('DevDan.csr','r')
140016150630848:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:79:

Answers

  • chrispokorni
    chrispokorni Posts: 2,372

    Hi @shunmugam379,

    It is sufficient to post an issue once. Re-posting several times does not help to get it resolved, on the contrary it will get your posts and comments flagged in the system.

    Can you validate that in Step 4 the DevDan.csr file has been generated? It seems the reason for the error in Step 5 is a missing file.

    Regards,
    -Chris

  • I got the same error due I created the csr file with root. I did a chown to my user and that way the issue's gone

Categories

Upcoming Training