
Example program demonstrating use of HTTP or HTTPS protocol over a cellular connection with httpbin.org using the MTSAS library. (Demonstrates GET,POST,basic-auth)
Revision 7:c477f2ab9624, committed 2015-03-16
- Comitter:
- Vanger
- Date:
- Mon Mar 16 21:42:36 2015 +0000
- Parent:
- 6:e5ea200c66c3
- Child:
- 8:206e60d5f722
- Commit message:
- Missed one of the options for the linux-method openssl command
Changed in this revision
certs.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/certs.h Mon Mar 16 21:35:01 2015 +0000 +++ b/certs.h Mon Mar 16 21:42:36 2015 +0000 @@ -21,7 +21,7 @@ * into this certs.h file, and format the data so that each line begins with " and is appended with \r\n" * * 3. Using openssl on linux: (Make sure you have openssl installed.) Run the command: openssl s_client - * -showcerts -connect <host>:<port> </dev/null + * -showcerts -connect <host>:<port> -CApath /etc/ssl/certs * Where <host> is the host name (www.google.com for example), and port is the port on which the connection * will be made (usually 443). When the connection is made with the remote server, the last certificate(s) * listed will be the Root CA certificate(s). Merely copy-paste those certificates into this certs.h file