Openssl.cnf: Read-only file system

HI,
I am going through the CKA with practice test session.
When i run below, getting the error (openssl.cnf: Read-only file system).
Can anyone help on this.

cat > openssl.cnf <<EOF
[req]
req_extensions = v3_req
distinguished_name = req_distinguished_name
[req_distinguished_name]
[ v3_req ]
basicConstraints = CA:FALSE
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
subjectAltName = @alt_names
[alt_names]
DNS.1 = kubernetes
DNS.2 = kubernetes.default
DNS.3 = kubernetes.default.svc
DNS.4 = kubernetes.default.svc.cluster.local
IP.1 = 10.96.0.1
IP.2 = 192.168.5.11
IP.3 = 192.168.5.12
IP.4 = 192.168.5.30
IP.5 = 127.0.0.1
EOF

Hello shireeshkumard,
Can you check this link in official documentation which contains how to configure it https://kubernetes.io/docs/concepts/cluster-administration/certificates/#openssl