We have to move our certificate file and private key into proper place, so first of all, we are going to check
one directory ls -l /etc/pki means Public Key Infrastructure, /tls transport layer
security/certs.
And here we are going to see that our localhost.cert is there.
And then we will look at /etc/pki/tls/private.
We will see that our localhost key that mean already created private key and the certificate files
are in that certificate files is in this directory, and private key in this.
So in our case, we have to move our master.key file in this.
directory and our master.crt are in this so for that what we are going to do, we are going to use
the move.
Command, that mean move command.
will shift from cureent directory to this.
So we are moving this to which directory, we are specifying mv the name of the file.
In our case, it is a certificate file.
We are moving it to /etc/pki.
/tls/certs and we are moving master.key into which directory /etc/pki/tls/private key then
with ls command.
we are going to check whether our master.crt has been successfully moved or not and then with
ls.
/etc/pki/tls/private.
We will see whether our master.key, we have moved it properly or not.
So we are moving the our certificate and private key file into proper directories.