0

I am attempting to use XMLRPC to post from Python to Wordpress. The website has SSL and I am getting the following error:

SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:720)

I have spent almost a full day trying to resolve this, but cannot figure it out. Can anyone help? Thanks.

1 Answer 1

1

This solved my problem.

import sys
if sys.version_info >= (2, 7, 9):
    import ssl
    ssl._create_default_https_context = ssl._create_unverified_context
Sign up to request clarification or add additional context in comments.

1 Comment

You saved my day. Thank you very much for providing the solution.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.