# file : tests/https.testscript # license : curl License; see accompanying COPYING file : default : { $* --fail --location -sS 'https://www.example.com' >>~%EOO% %.+ EOO } : override : : Specify the empty CA certificates bundle on the command line and make sure : curl exits with the 'peer certificate cannot be authenticated with known CA : certificates' exit code. : { $* -s 'https://www.example.com' --capath "$src_base/empty.pem" == 60 }