Expired Certificate in Cosmos API

41 Views Asked by At

Using WebHDFS API of Cosmos generates an expired certificate response.

Using this url: https://cosmos.lab.fi-ware.org:13000/

we can see certificate seems expiredExpired Certificate

Do we need updated certificate or any way to go around this problem?

1

There are 1 best solutions below

3
frb On BEST ANSWER

The certificate must be renewed, for sure. In the meantime, you can simply ignore the certificate. If you are using curl, use the -k option:

$ curl -k -X POST "https://cosmos.lab.fiware.org:13000/cosmos-auth/v1/token" -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=password&[email protected]&password=MY_PASSWORD_IS_PRIVATE"