question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TLS certificates should be valid for *.service and *.node

See original GitHub issue

When working on #1406, I used the short DNS form for a service, i.e. without the consul_dns_domain, and got the following message:

May 10 07:33:01 lb0-control-01 docker[21812]: time="2016-05-10T07:33:01Z" level=error msg="Put https://consul.service:8500/v1/session/create: x509: certificate is valid for localhost, *.node.consul, *.service.consul, not consul.service"

The cert we deploy should also be valid for those short constructions.

  • Ansible version (ansible --version): 1.9.4
  • Python version (python --version): n/a
  • Git commit hash or branch: master
  • Cloud Environment: aws
  • Terraform version (terraform version): 0.6.14

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:22 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
distributorofpaincommented, May 19, 2016

I might be missing something… we are creating docker containers with software in them that is running a tomcat instance or java instance that uses a certificate. When i spin them up in marathon, how are these changes going to allow that to work? right now, we are putting the mantl general cert in the containers and rebuilding them. Is that fix working outside the container? Also, to apply, do i have to recreate the environment( justy verifying )? I am still trying to figure out the internals of this setup 😃

0reactions
langston-barrettcommented, Jun 7, 2016

@distributorofpain Please open another issue or find me on Gitter if you’d like to discuss further!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Use SSL/TLS with Node.js - SitePoint
The certificate's validation process involves validating the certificate signature and expiration. We also need to verify that it chains to a ...
Read more >
SSL and SSL Certificates Explained For Beginners
A complete beginners guide to SSLand SSL certificates. How they work and the different certificate types,encodings and uses.
Read more >
Managing TLS and trusted CA certificates - Pexip Infinity Docs
TLS certificates are used by the Management Node and each Conferencing Node to verify their identity to clients connecting to them over HTTPS...
Read more >
Provision TLS certificates for your internal Tailscale services
This is done by verifying the validity of a TLS certificate for that domain. It's common to use SSH to access services on...
Read more >
TLS (SSL) | Node.js v19.3.0 Documentation
With TLS/SSL, all servers (and some clients) must have a certificate. Certificates are public keys that correspond to a private key, and that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found