Getting error: org.apache.commons.httpclient.HttpException while integrating PID with Ansible tower

prafullb1997
Tera Contributor

Hello Team,

 

 I'm trying to integrate the Service now instance with Ansible tower which is deployed in private network. I have created a mid server and configured the details in PID.  When I'm trying to test, I'm getting below error. 

The request failed: org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted

and authentication is set to basic auth.

Also, I've set these below properties false

com.glide.communications.httpclient.verify_hostname

com.glide.communications.trustmanager_trust_all

 

 

1 REPLY 1

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @prafullb1997 

 

Here are few link. Seems issue with certificate. 

 

https://www.servicenow.com/community/developer-forum/org-apache-commons-httpclient-httpexception-ses...

 

https://www.servicenow.com/community/developer-forum/org-apache-commons-httpclient-httpexception-ses...

 

https://www.servicenow.com/community/itsm-forum/mid-server-org-apache-commons-httpclient-httpexcepti...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************