@DeepDiver1975 Sorry, i think i did not explain me very well, as you nete english is not my primary language

Curl throw an error if the cert is not recognized by the system (for example self-signed cert where the root CA is not installed), normal certs in the system(for example verisign ones that by default the root CA cert is installed in the system) not throw a curl error, so i read the cert from the user uploaded root CA certs through the web interface, this is like: hey! get the system root CA certs and add the user ones, and then connect with curl an veryfy that the cert is valig against system root CA certs or user root CA certs
I hope i can explain me well this time