Skip to content

Add support for HTTPS #117

@atringham

Description

@atringham

At the moment the scheduler, executor and operations only support using http connections. This should be extended to add support for https.
One way is to add a use_https flag (default False) for each of the respective __init__ and set self.scheme to 'http' or 'https' like the following

if use_https:
  self.scheme = 'https'
else:
  self.scheme = 'http'

And the reference this scheme whenever creating a connection to the maser/agent

if self.scheme == "https":
  conn = HTTPSConnection(...)
else:
  conn = HTTPConnection(...)

A change is also needec to resolve the ip to a fqdn for the master/agent in order for the certificates to be validated

I have a patch that does exactly this which I can make PR from if this is an acceptable approach

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions