2 library(ssl): Secure Socket Layer (SSL) library
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
SWI-Prolog SSL Interface
library(ssl): Secure Socket Layer (SSL) library
ssl_context/3
ssl_add_certificate_key/4
ssl_set_options/3
ssl_negotiate/5
ssl_peer_certificate/2
ssl_peer_certificate_chain/2
ssl_session/2
load_certificate/2
load_crl/2
system_root_certificates/1
load_private_key/3
load_public_key/2
cert_accept_any/5
ssl_secure_ciphers/1
Availability:
:- use_module(
library(ssl)
).
(can be autoloaded)
[det]
cert_accept_any
(
+SSL, +ProblemCertificate, +AllCertificates, +FirstCertificate, +Error
)
Implementation for the hook `cert_verify_hook(:Hook)` that accepts
any
certificate. This is intended for
http_open/3
if no certificate verification is desired as illustrated below.
http_open('https:/...', In, [ cert_verify_hook(cert_accept_any) ])