SSL connection error during Mac Sierra Install

Hi All,
I’m trying to install afni on an older mac computer. I can’t get very far, when I copy and paste

cd
curl -O https://afni.nimh.nih.gov/pub/dist/bin/misc/@update.afni.binaries
tcsh @update.afni.binaries -package macos_10.12_local -do_extras

I get the following error:
OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Unable to establish SSL connection.
** failed to download test file
(maybe package macos_10.12_local is not available)

computer information:
macOS High Sierra
Version 10.13.6

Let me know what you think,
Thanks for your help!

Hello,

It might be necessary to add the -no_cert_verify option to that @update.afni.binaries command. If that does not work, would you please show more of the output, up until the first error?

Thanks,

  • rick

It didn’t work, i’ve included all of the output from the following line of code:

tcsh @update.afni.binaries -package macos_10.12_local -do_extras -no_cert_verify

– running @update.afni.binaries version 3.15, May 4, 2020
– no current AFNI package found in path…
– install dir: using default ~/abin
– any downloads will be from https://afni.nimh.nih.gov via wget --no-check-certificate

– attempting to install package macos_10.12_local under
install dir: /Users/Oscar/abin…
– have install dir
deleting old temporary directory…
++ working in new temp dir, .tmp.install
++ getting install prog: wget --no-check-certificate bin/misc/@update.afni.binaries
wget --no-check-certificate https://afni.nimh.nih.gov/pub/dist/bin/misc/@update.afni.binaries
–2020-06-22 11:06:56-- https://afni.nimh.nih.gov/pub/dist/bin/misc/@update.afni.binaries
Resolving afni.nimh.nih.gov… 156.40.187.114, 2607:f220:419:4103::114
Connecting to afni.nimh.nih.gov|156.40.187.114|:443… connected.
OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Unable to establish SSL connection.
** failed, trying macos_10.12_local/@update.afni.binaries
–2020-06-22 11:06:56-- https://afni.nimh.nih.gov/pub/dist/bin/macos_10.12_local/@update.afni.binaries
Resolving afni.nimh.nih.gov… 156.40.187.114, 2607:f220:419:4103::114
Connecting to afni.nimh.nih.gov|156.40.187.114|:443… connected.
OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Unable to establish SSL connection.
** failed again, skipping check for new installer
++ downloading test file: wget --no-check-certificate macos_10.12_local/afni …
–2020-06-22 11:06:56-- https://afni.nimh.nih.gov/pub/dist/bin/macos_10.12_local/afni
Resolving afni.nimh.nih.gov… 156.40.187.114, 2607:f220:419:4103::114
Connecting to afni.nimh.nih.gov|156.40.187.114|:443… connected.
OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Unable to establish SSL connection.
** failed to download test file
(maybe package macos_10.12_local is not available)

I wonder whether you are using IPv6. But note that your original curl command worked to download the script, but now wget is failing. So how about (possibly instead of -no_cert_verify, which might not be needed) using curl.

Try adding -curl to the command.

Thanks,

  • rick