netcdf-c/NUG
Dennis Heimbigner 313121a229 Use proper CURLOPT values for VERIFYHOST and VERIFYPEER
re: https://github.com/Unidata/netcdf-c/issues/1684
re: e-support VZL-904142

Two issues:
1. As of libcurl 7.66, the semantics of CURLOPT_SSL_VERIFYHOST
   changed so that the non-zero values affects certificate processing.
2. The current library was forcing the values of VERIFYPEER
   and VERIFYHOST to zero instead of leaving them to the default values.

Solution was first to leave the defaults in place for VERIFYPEER and VERIFYHOST
as long as they are not set in .ocrc/.dodsrc file.
Second, the value of HTTP.SSL.VERIFYPEER or HTTP.SSL.VERIFYHOST
as set in .ocrc/.dodrc is used to set the corresponding CURLOPT flags.
So for example, adding
> HTTP.SSL.VERIFYHOST=2
will set the value of CURLOPT_SSL_VERIFYHOST to 2, the default.
Using
> HTTP.SSL.VERIFYHOST=0
will set the value of CURLOPT_SSL_VERIFYHOST to 0, which disables it.
Similarly for VERIFYPEER.

Finally the semantics of HTTP.SSL.VALIDATE is now equivalent to
> HTTP.SSL.VERIFYPEER=1
> HTTP.SSL.VERIFYHOST=2
2020-04-10 13:42:27 -06:00
..
images Initial copy of files into NUG directory. 2020-02-06 14:23:46 -07:00
.gitignore Some initial reorganization. 2020-02-06 14:29:10 -07:00
bestpractices.md Initial copy of files into NUG directory. 2020-02-06 14:23:46 -07:00
cleanup.sh Initial copy of files into NUG directory. 2020-02-06 14:23:46 -07:00
DAP2.dox Use proper CURLOPT values for VERIFYHOST and VERIFYPEER 2020-04-10 13:42:27 -06:00
DAP4.dox Use proper CURLOPT values for VERIFYHOST and VERIFYPEER 2020-04-10 13:42:27 -06:00
Doxyfile Modified doxygen to look at URL instead of local files. 2020-02-06 16:46:52 -07:00
filters.md Add support for multiple filters per variable. 2020-02-16 12:59:33 -07:00
guide.dox Shuffling NUG and documentation. 2020-02-06 16:14:25 -07:00
install.md Initial copy of files into NUG directory. 2020-02-06 14:23:46 -07:00
OPeNDAP.dox Initial copy of files into NUG directory. 2020-02-06 14:23:46 -07:00
types.dox Initial copy of files into NUG directory. 2020-02-06 14:23:46 -07:00
user_defined_formats.md Initial copy of files into NUG directory. 2020-02-06 14:23:46 -07:00