Skip to content
SSL library for Pony
Pony Shell Makefile
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.ci-scripts mode changes Aug 4, 2019
.circleci mode changes Aug 4, 2019
.github mode changes Aug 4, 2019
assets mode changes Aug 4, 2019
examples/simple-example mode changes Aug 4, 2019
net_ssl mode changes Aug 4, 2019
.gitattributes
.gitignore mode changes Aug 4, 2019
CHANGELOG.md mode changes Aug 4, 2019
CODE_OF_CONDUCT.md mode changes Aug 4, 2019
CONTRIBUTING.md mode changes Aug 4, 2019
LICENSE mode changes Aug 4, 2019
Makefile mode changes Aug 4, 2019
README.md mode changes Aug 4, 2019
RELEASE_PROCESS.md Release scripts Aug 4, 2019
STYLE_GUIDE.md mode changes Aug 4, 2019
release.bash Add missing template values to release.bash Aug 4, 2019

README.md

net-ssl

Pony library that brings SSL networking support to Pony. Requires LibreSSL or OpenSSL. See installation for more details.

Status

CircleCI

Production ready.

Installation

{ 
  "type": "github",
  "repo": "ponylang/net-ssl"
}
  • stable fetch to fetch your dependencies
  • use "net_ssl" to include this package
  • stable env ponyc to compile your application

Supported SSL versions

The 0.9.0 and 1.1.x OpenSSL versions and corresponding compatible LibreSSL library versions are supported.

The default is to use the 0.9.x library APIs. You can change the selected supported library version at compile-time by using Pony's compile time definition functionality.

Using OpenSSL 0.9.0

stable env ponyc -Dopenssl_0.9.0

Using OpenSSL 1.1.x

stable env ponyc -Dopenssl_1.1.x

Dependencies

net-ssl requires either LibreSSL or OpenSSL in order to operate. You'll might need to install it within your environment of choice.

Installing on APT based Linux distributions

sudo apt-get install -y libssl-dev

Installing on Alpine Linux

apk add --update libressl-dev

Installing on Arch Linux

pacman -S openssl

Installing on macOS with Homebrew

brew update
brew install libressl

Installing on macOS with MacPorts

sudo port install libressl

Installing on RPM based Linux distributions with dnf

sudo dnf install openssl-devel

Installing on RPM based Linux distributions with yum

sudo yum install openssl-devel

Installing on RPM based Linux distributions with zypper

sudo zypper install libopenssl-devel

Installing on Windows

Download a prebuilt binary from https://www.libressl.org/.

You can’t perform that action at this time.