Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

SSLerror when running Target API with Python

Avatar

Avatar
Shape 1
Level 2
jonathanl557422
Level 2

Likes

16 likes

Total Posts

17 posts

Correct Reply

1 solution
Top badges earned
Shape 1
Give Back 5
Give Back 3
Give Back
Boost 5
View profile

Avatar
Shape 1
Level 2
jonathanl557422
Level 2

Likes

16 likes

Total Posts

17 posts

Correct Reply

1 solution
Top badges earned
Shape 1
Give Back 5
Give Back 3
Give Back
Boost 5
View profile
jonathanl557422
Level 2

18-11-2020

I'm able to connect and get API responses with an API client (Insomnia).

However, I keep getting an SSL error when trying to do the same with Python. Anyone managed to get it to work without the SSL error or using verify=false?

 

This is the error I get:

 

SSLError: HTTPSConnectionPool(host='mc.adobe.io', port=443): Max retries exceeded with url: /sunlifeassurance/target/activities/ (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 5
Level 7
Eric_Vidana
Level 7

Likes

154 likes

Total Posts

150 posts

Correct Reply

37 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 25
Give Back 10
Give Back
View profile

Avatar
Give Back 5
Level 7
Eric_Vidana
Level 7

Likes

154 likes

Total Posts

150 posts

Correct Reply

37 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 25
Give Back 10
Give Back
View profile
Eric_Vidana
Level 7

18-11-2020

Are you able to download the cert from https://mc.adobe.io/ and reference to it in the verify param? Not a python expert and not sure what library you are using. 

Answers (0)