This repository was archived by the owner on Dec 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Allow insecure downloads #31
Copy link
Copy link
Open
Labels
Description
If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option.
Error: /Stage[main]/Oracle_java::Download/Archive[/usr/java/jdk-u131-linux-x64.tar.gz]/ensure: change from absent to present failed: Execution of '/bin/curl https://repo.ournamegoeshere.net/repo/ourname-repo//jdk-u131-linux-x64.tar.gz -o /tmp/jdk-u131-linux-x64.tar.gz_75b2cb2249710d822a60f83e2886005320170426-65466-1udkpl2 -fsSL --max-redirs 5 --cookie oraclelicense=accept-securebackup-cookie' returned 60: curl: (60) Peer's certificate issuer has been marked as not trusted by the user.
I'm trying to test installing oracle from our own repository that we sync from oracles when they come out with a new java package because security won't permit internet access to the business application environments. We update this repository manually then deploy code from our own repository. Currently we are in testing and haven't setup the SSL certificate CA process but I don't want to hack in the -k because java is patched so often.
Thanks!