SSL handshake

Posted on 2009-02-08
Last Modified: 2012-05-06
I have a ssl on a server and when running my API from my flex compiler with charles(debugger) open i get the following error SSLHandshake: Remote host closed connection during handshake
The SSL cert is setup correctly on the server but for some reason with the api i cant reach the server with a SSL
Thanks for the help.
Question by:lionel3030
    LVL 51

    Expert Comment

    you connected to a port not speaking SSL, or the remote server expetcs another SSL version like SSLv2 or SSLv3

    Author Comment

    I connect to the port 443 not sure what version i have as ssl i only know its 128 bits thanks for the reply ahoffmann
    LVL 31

    Accepted Solution

    Depending on the app, this can result from an expired cert, if the root certificate is not trusted, or if the certificate was issued to a different name than you are trying to connect to.  For the naming, it must match exactly to the issued Subject name for the cert - i.e. if it is issued to you cannot connect to the hostname 'server' or to its IP address without it returning an error.  Nice applications will return an informative message informing you as to why it was rejected, but there are many apps, even popular ones, that aren't so nice.

    Author Closing Comment

    solutions was incomplete due to me not coming back

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    So you need a certificate so you can offer SSL encryption.  But which one should you get?  There are so many choices out there! Here is a generic overview of the main types of SSL certificates sold by the majority of commercial Certification Auth…
    Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    734 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