Skip to content

rustls/rustls-openssl-compat

Repository files navigation

rustls-libssl is a partial reimplementation of the OpenSSL 3 libssl ABI. It is written in rust and uses rustls. It does not replace libcrypto: this is still required.

rustls-libssl

Status

This project is experimental. We have aimed for the subset of libssl used by:

  • curl on Ubuntu 22.04 LTS
  • nginx on Ubuntu 22.04 LTS and 24.04 LTS
  • nginx on Fedora 40

We have a compatibility matrix and known issues.

Usage

Installation

Ubuntu/Debian users:

$ wget https://github.com/rustls/rustls-openssl-compat/releases/latest/download/rustls-libssl_amd64.deb
$ sudo dpkg -i rustls-libssl_amd64.deb

or Fedora/Redhat users:

$ wget https://github.com/rustls/rustls-openssl-compat/releases/latest/download/rustls-libssl.x86_64.rpm
$ sudo yum localinstall -y rustls-libssl.x86_64.rpm

Using curl:

$ with-rustls-libssl curl https://google.com/

with-rustls-libssl just sets LD_LIBRARY_PATH and executes the given process.

Using nginx:

$ sudo rustls-libssl-nginx enable
$ sudo systemctl daemon-reload
$ sudo service nginx restart

rustls-libssl-nginx enable installs a systemd drop-in in /etc/systemd/system/nginx.service.d/. rustls-libssl-nginx disable undoes that.

Building from source

In addition to Rust 1.77+ you will require lld to build rustls-libssl from source. At the time of writing the default linker (ld) doesn't offer sufficient --version-script support and lld must be available for the project build.rs script to use.

Changelog

The detailed list of changes in each release can be found at https://github.com/rustls/rustls-openssl-compat/releases.

License

rustls-libssl is distributed under the Apache-2.0 license. See LICENSE.

About

OpenSSL compatibility layers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy