package ssl
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=39d1c8e69dbfdd4ea121bef52f8a30802e4baa556272ff1de43a66302960c051
sha512=8cd4a0d4efa947daaa98a55f3d1b7ef3533604f8b863c5f7cf3facfb7c9fafec9352c34d4cd86177294ecd499efb3f084e2afac9dc595451525c3cc214adb36f
Description
Published: 05 Jun 2023
README
OCaml-SSL - OCaml bindings for the libssl
Author: Samuel Mimram samuel.mimram@ens-lyon.org
Email: savonet-users@lists.sourceforge.net
Homepage: http://savonet.sourceforge.net/
Copyright (c) 2003-2015 the Savonet Team.
Installation
ocaml-ssl
can be installed via OPAM:
opam install ssl
Is this library thread-safe?
Yes it is if and only if the first function you call in ocaml-ssl is Ssl_threads.init
(and the second one should be Ssl.init
).
Creating a self-signed ssl certificate
To get started quickly you can create a self-signed ssl certificate using openssl.
First, create a 1024-bit private key to use when creating your CA.:
openssl genrsa -des3 -out privkey.pem 1024
Create a master certificate based on this key, to use when signing other certificates:
openssl req -new -x509 -days 1001 -key privkey.pem -out cert.pem
SSL acknowledgment
This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit.
License
This library is released under the LGPL version 2.1 with the additional exemption that compiling, linking, and/or using OpenSSL is allowed.
As a special exception to the GNU Library General Public License, you may also link, statically or dynamically, a "work that uses the Library" with a publicly distributed version of the Library to produce an executable file containing portions of the Library, and distribute that executable file under terms of your choice, without any of the additional requirements listed in clause 6 of the GNU Library General Public License. By "a publicly distributed version of the Library", we mean either the unmodified Library, or a modified version of the Library that is distributed under the conditions defined in clause 3 of the GNU Library General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU Library General Public License.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
The examples are under the GPL licence version 2.0.
Dependencies (5)
- conf-libssl
- base-unix
- dune-configurator
-
ocaml
>= "4.03.0"
-
dune
>= "2.7"
Dev Dependencies (2)
-
bisect_ppx
dev & >= "2.5.0"
-
alcotest
with-test
Used by (41)
-
0install
< "2.8"
-
arakoon
>= "1.8.6"
-
aws-s3-lwt
< "3.0.0"
-
azure-cosmos-db
>= "0.1.5"
- bt
-
cohttp
= "0.11.1"
-
conduit-lwt-unix
>= "2.3.0"
-
cowabloga
< "0.0.9"
- dream
- dream-httpaf
- dropbox
-
eio-ssl
< "0.3.0"
- facebook-sdk
- flow
-
github
< "2.0.0"
- irc-client-lwt-ssl
-
irmin
< "0.9.0"
-
ketrew
< "3.0.0"
- ldap
- libres3
- lwt_ssl
-
message-switch
< "1.4.0"
- mirage-http-unix
-
mirage-www
>= "1.1.0"
- nbd-unix
-
ocamldap
< "transition"
-
ocsigenserver
>= "2.12.0"
-
opam-publish
>= "0.3.5" & < "2.0.1"
- piaf
- quests
-
sihl
< "0.2.0" | >= "0.3.0~rc2"
- sihl-core
- slacko
- sociaml-facebook-api
- sociaml-oauth-client
- spotify-web-api
-
syndic
>= "1.5" & < "1.6.0"
- vhd-tool
-
websocket
< "0.9.1"
- xe
- xen-api-client
Conflicts
None