curl and https

Posted on 2014-08-19
Last Modified: 2014-08-20
I once set up an ActiveMQ client server, with SSL  which shared certificates

When testing web services I use curl over http, no SSL

So I am not quite sure of the context of which curl is using https

Below is an example

curl -H "Content-Type: application/json" -d @input3.txt http://localhost:????/mule/getBalance

So I have 2 questions

1>  Which port does https go through, probably not 8081

2>  How is it actually SSL, there are no trust stores, etc

Thanks for clearing up my confusion
Question by:Anthony Lucia
    LVL 58

    Accepted Solution

    SSL is over port 443
    You can use a self signed cert, curl will automatically follow it through
    LVL 82

    Assisted Solution

    by:Dave Baldwin
    The default port for SSL/TLS is 443.  If your destination uses another port, you can too.  cURL has it's own 'trust store'.  If you download the current version of cURL, you will get the current store with it.

    Oops! looks like I was wrong.  This page shows where to get a 'ca-bundle' from Mozilla / Firefox:

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    As a financial services provider, your business is impacted by two of the strictest federal regulations on record: the Sarbanes-Oxley Act and the Gramm-Leach-Bliley Act. Correctly implementing faxing into your organization to provide secure, real-ti…
    Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
    The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
    This video is a brief demonstration on how to use security groups and Network Access Control Lists (ACLs) in Amazon Web Services.  Security groups and Network ACLs are mechanisms you can use in AWS to control network traffic.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now