OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Furthermore, the command on Mojave worked flawlessly at scale to over 12 hosts I pushed it out to, so it truly seems to be isolated to Catalina's version of curl.Ĭan anyone verify these findings on Mojave and Catalina? I spent about 45 minutes debugging this in a script I wrote that works fine on Mojave and determined that there must be a difference in the behavior of curl, corresponding to the difference in version of curl rolled out with each OS, since I literally copy and pasted the same command and ran it on both OSes with different results. The curl on Catalina (with the same flags, header, and URL to fetch with otn-pub), with the verbose flag set, shows that it will not even get as far as the redirect (why -L is present) before it errors, and what output it does fetch shows the 'unauthorized' message from Oracle you typically see when the header is not passed. With reference to the curl command I left above, I discovered something a little surprising: It works like a charm on Mojave but not on Catalina. Wget -c -no-cookies -no-check-certificate -header "Cookie: oraclelicense=accept-securebackup-cookie" Ĭurl -O -k -L -H "Cookie: oraclelicense=accept-securebackup-cookie" Īdd -C - if you want the resume function like shown in the wget example.Īlso interesting is that -L (for redirect) was essential, and I ended up finding a second URL to fetch when I ran the above command with the -verbose flag: Username/Password Authentication anyone know how to run this command using curl instead of wget? ~$ wget -c -no-cookies -no-check-certificate -header "Cookie: oraclelicense=accept-securebackup-cookie"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |