Weird, that exact layout worked beforehand. Anyway, curious to hear why you recommend changing the port number.
I changed a few ports, and restarted the server and it seems to have worked, but it works on the old port as well. I don't know exactly what changed, maybe the fact that I had to delete and reload the .ovpn file with that client-config-dir ccd removal. A note for anyone like me: it helps to fully delete the profile from the app, not just to restart it with edits (since I guess it only reads it once).
I tried the exact same settings in my all-in-one file with the certificates, but that never got to working, despite the first half being identical (except for the calls to the certificates and keys). Can't explain that one. Still can't explain the other really either though.
client
#tls-client
#pull
dev tun
proto udp
remote server port
resolv-retry infinite
nobind
#dhcp-option DNS 8.8.8.8
persist-key
persist-tun
#key-direction 1
verb 4
auth SHA512
cipher AES-256-CBC
#client-config-dir ccd
<ca>
----BEGIN CERTIFICATE-----
----END CERTIFICATE-----
</ca>
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
-----END OpenVPN Static key V1-----
</tls-auth>
<key>
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
</key>
<cert>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</cert>
I appreciate your assistance and your patience with me.