Hi,
Could you add examples how to use the method https://vmw-loginsight.github.io/#certificate . There is not any example for this method.
Another question, this method is for update the Log Insight Certificate?
I am trying to automate the renew of a LetsEncrypt cert. I tried this:
Auth
curl -d @auth.json -H "Content-Type: application/json" https://vli.prodest.es.gov.br/api/v1/sessions
Test by getting time:
curl -H "Authorization: Bearer <mybearertoken>" https://vli.prodest.es.gov.br/api/v1/time
Then try to upload a cert, PEM format
curl -X POST -H "Content-Type: multipart/form-data" -F "data=@vli.pem" -H "Authorization: Bearer <mybearertoken> https://vli.prodest.es.gov.br/api/v1/certificate
the answer: Invalid certificate file
Hi,
Could you add examples how to use the method https://vmw-loginsight.github.io/#certificate . There is not any example for this method.
Another question, this method is for update the Log Insight Certificate?
I am trying to automate the renew of a LetsEncrypt cert. I tried this:
Auth
Test by getting time:
Then try to upload a cert, PEM format
the answer:
Invalid certificate file