-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Description
I did this
curl --cacert ./ca.modio.se.cacert --cert ./hsb-demo.crt --key ./hsb-demo.key https://api.moodio.se/
I expected the following
Download or error
curl/libcurl version
using system curl:
$ which curl
/usr/bin/curl
curl 7.51.0 (x86_64-apple-darwin16.0) libcurl/7.51.0 SecureTransport zlib/1.2.8
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz UnixSockets
2017-04-25 14:50:23.802 curl[47694:4961444] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]'
*** First throw call stack:
(
0 CoreFoundation 0x00007fffa197237b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffb676648d objc_exception_throw + 48
2 CoreFoundation 0x00007fffa1868184 -[__NSPlaceholderArray initWithObjects:count:] + 276
3 libcurl.4.dylib 0x00007fffb605c45f darwinssl_connect_common + 2166
4 libcurl.4.dylib 0x00007fffb605aa85 Curl_ssl_connect_nonblocking + 77
5 libcurl.4.dylib 0x00007fffb6022631 https_connecting + 23
6 libcurl.4.dylib 0x00007fffb60225fc Curl_http_connect + 71
7 libcurl.4.dylib 0x00007fffb6030c4d Curl_protocol_connect + 127
8 libcurl.4.dylib 0x00007fffb6044f2f multi_runsingle + 921
9 libcurl.4.dylib 0x00007fffb6044b1d curl_multi_perform + 92
10 libcurl.4.dylib 0x00007fffb603daa9 curl_easy_perform + 339
11 curl 0x0000000101e7558d curl + 46477
12 curl 0x0000000101e72515 curl + 34069
13 curl 0x0000000101e71dcf curl + 32207
14 libdyld.dylib 0x00007fffb704b235 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
operating system
Darwin rambo.local 16.5.0 Darwin Kernel Version 16.5.0: Fri Mar 3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64