Skip to content

Remove rust-openssl from the command library #254

Closed

Description

@Geal

This will make it easier to compile the library (removing a huge dependency that can conflict with other versions elsewhere), and will allow easier integration of rustls (#145).

Apparently we could replace the fingerprint calculation (which is just a hash of the DER encoding?) by something that does not use openssl nor rustls:

X509::from_pem(certificate).and_then(|cert| cert.fingerprint(MessageDigest::sha256()))

The other part to replace is in config.rs and messages.rs. There should be a sozu specific configuration structure for those TLS options, that is transformed to openssl or (when we implement it) rustls options.

Activity

  1. added this to the should be in the release milestone on Oct 18, 2017
  2. Geal commented on Nov 24, 2017

    @Geal
    MemberAuthor

    Fixed in eac3164
    For now the TLS options that can be set are the ciphers and the TLS version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions