Hi,

I would like to send data from the get api request ("
https://gorest.co.in/public/v2/users";)
to the file using apache camel spring boot.

Ex: from("https://gorest.co.in/public/v2/users";)
.to("file:C:/textfile.txt")
.log("${body}");

The code works for http on a different url but not for https.

I am getting this error message :

"sun.security.privider.certpath.suncertpathbuilderecxeption: unable to find
valid certification path to requested target ".

Please advise what steps do i need to take.

Reply via email to