[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

openssl s_client -connect https://xyz.com/monitor.html:443 gives getaddrinfo: Servname not supported for ai_socktype connect:errno=0

Posted on 2011-02-28
3
Medium Priority
?
6,858 Views
Last Modified: 2012-06-27
Hello,
I have to get a certificate from an external organizations server to connect my soap client to it. Usng the command

openssl s_client -connect https://xyz.com/monitor.html:443


gives me the following error,
getaddrinfo: Servname not supported for ai_socktype
connect:errno=0


Now :-
1. Is there any other way to get the certificate (Putting the address on the browser does not help)
2. Am I using the connect command wrongly, Is there any other way to use the above command

Thank you for your help.

0
Comment
Question by:ezdrt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 12

Expert Comment

by:zappafan2k2
ID: 35003750
Do you have to open that specific page?  Presumably the host should serve the same certificate for any connection.

Have you tried
openssl s_client -connect xyz.com:443

Open in new window

?
0
 

Accepted Solution

by:
ezdrt earned 0 total points
ID: 35141883
Actually,
The host had issues with its own certificate system. So did all the debugging on our side. I also used curl to test it and found the similar issue. So I would say try a few different ways like I did with

1. Directly php
2. Zend framework
3. OpenSSL
3. Curl

Still do not seem to work then may be its the issue with the client setup.
Thanks expert for the help though
0
 

Author Closing Comment

by:ezdrt
ID: 35174617
There were not enough good solutions and this was kind of a unique issue.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The task of choosing a web design company to build a website for your business should never be taken in a light manner. Provided the fact that your website will act as a representative to your business and will be responsible for imposing an online …
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

656 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