I am using the URL below and providing the correct credentials, but I am not able to log in.
userid is case sensitive…
The documentation for this: Connecting to Cumulocity IoT | Thin-edge
To upload the certificate to cumulocity this user needs to have "Tenant management" admin rights.
Have you ensured that your user has that permission?