Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https server implementation #122

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

krysalead
Copy link

Hi,

This PR allows to create a HTTPS server with express
Unit test is disabled because it needs to have certificat I can't commit to git.

Documentation

Activate HTTPS

{
  "hydra": {
    "serviceName": "echo-service",
    "serviceIP": "127.0.0.1",
    "servicePort": 3000,
    "serviceType": "",
    "serviceDescription": "",
    "serviceProtocol": "https",
    "sslKey": "client-key.pem",
    "sslCert": "client-cert.pem",
    "redis": {
      "url": "127.0.0.1",
      "port": 6379,
      "db": 1
    }
  }
}

That's all, it will register your server as secured to be called using https and start a server on the servicePort but accepting only encrypted requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant