> Certificate verification Failed. Error: CA root certificate is not trusted
Is your CA the root? Or only an intermediate CA?
In a browser you have to put that CA cert in the right certificate store, trusted. Do you need to do that for your switch?
What does the header line show for that CA cert?