SSL Certificate Problem: unable to get local issuer certificate
4
votes
1
answer
8198
views
I am having small initramfs with static busybox into it. The sole purpose of this initramfs is to download/upload files to the HTTPS server.
I have the proper certificate and credentials to do so. But when I execute the command:
curl --cacert /tmp/filename.pem -T /tmp/file_to_upload -u user:pass https://Server_name/
I greeted with an error:
curl: (60) SSL certificate problem: unable to get local issuer certificate
If I use the same command with same certificate onto Ubuntu, then everything goes smooth.
How am I suppose to resolve this issue ?
**EDIT:** I do not want to use "-k" or "--insecure" switch
**NOTE:** I do not have openssl or /etc/ssl directory into initramfs
Asked by SHW
(15376 rep)
May 26, 2016, 11:30 AM
Last activity: Aug 6, 2025, 07:00 PM
Last activity: Aug 6, 2025, 07:00 PM