How to tell Nomad to use concrete .cer file for download artifact from different server?

Hi, community.

I want to ask you, how we can tell Nomad to use the appropriate cer file for downloading a zip file from a different server. I tried what is written in the documentation, but it gives me this error:

Failed Artifact Download failed to download artifact “url”: Get “url”: x509: certificate signed by unknown authority

when allocation trying to run.

We imported the .cer files in the OS(RHEL) on the servers and the clients and then when trying to reach and download the file with curl on them everything works well, but when we put the link in the nomad artifact → source we have this error above.

At this point, we are using only Nomad.

Any suggestions are welcome.

Regards!