Did you know ...
Search Documentation:
Predicate cert_accept_any/5
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
IRC
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
Documentation
Reference manual
Packages
SWI-Prolog SSL Interface
library(ssl): Secure Socket Layer (SSL) library
ssl_context/3
ssl_upgrade_legacy_options/2
ssl_add_certificate_key/4
ssl_set_options/3
ssl_property/2
ssl_negotiate/5
ssl_peer_certificate/2
ssl_peer_certificate_chain/2
ssl_session/2
load_certificate/2
write_certificate/3
load_crl/2
system_root_certificates/1
load_private_key/3
load_public_key/2
cert_accept_any/5
same_certificate/2
verify_certificate_issuer/2
verify_certificate/3
certificate_field/2
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) ])