• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Certificate SSLHandshake Exception

 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying out something that is supposed to be really simple and straight forward. As per this documentation, I created the .pem files:

https://docs.docker.com/articles/https/

I have a Java client that I use to connect to the docker daemon running on a remote machine. My client however fails with the following exception:



What I'm not sure is which cet of .pem files are meant for the server and which are meant for the client with respect to the documentation given at the docker's website. I added the ca.pem, cert.pem, key.pem on my client and started the docker daemon as mentioned, but I could not get my rest client to work. Any suggestions?

Any by the way, if you are new to Docker, I'd seriously advice you to take a look into it! Sounds to me the next big thingy!
 
Joe San
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I inspected the certificate file, I saw the following:



There is no SAN. Since I'm using the IP address of the machine and not the host name, what should I do now to enable SAN appear in my pem file when I generate it using open ssl?

 
Joe San
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anyone having a clue?
 
snakes are really good at eating slugs. And you wouldn't think it, but so are tiny ads:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic