Skip to content

https server implementation#122

Open
krysalead wants to merge 1 commit intopnxtech:masterfrom
krysalead:implement_https_server
Open

https server implementation#122
krysalead wants to merge 1 commit intopnxtech:masterfrom
krysalead:implement_https_server

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