Hi,
So I'm trying to setup a OpenVPN server in OpenWRT, and so far I'm just stuck creating the required certificates. I have all CA's and everything ready, but I'm unable to create the Client entries in the "Index File" as described in: https://oldwiki.archive.openwrt.org/doc/howto/openvpn-streamlined-server-setup#index_file
How do I generate the required entries? Where is the DN? The certificate to be used with the command " openssl x509 -in certificate.crt -text -noout" is it the OpenWrt-CA.crt.pem file found in the /ca folder?? What is the index file doing? Is it for the Server Certificates or the Client ones???
Also many commands seem to be missing the .pem extensions, why?
Also in the Server Certificate part, while running the command for the step " Export to PKCS12", the command fails as the "ca/OpenWrt-OpenVPN_CA-Chain.crt.pem" file doesn't exist, as it has never been created, but there is a similar file "ca/OpenWrt-OpenVPN_ICA-Chain.crt.pem" (Note the change from CA to ICA), but from what I understood the CA and the ICA are something different. So where did I go wrong? Or is something missing in the tutorial?
Am I approaching this wrong? Any help or advice is highly appreciated.