GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
* Sign Up! *

Support
Customer Portal
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
test-tls-connection(1) FreeBSD General Commands Manual test-tls-connection(1)

test-tls-connectionTests TLS connection to a remote endpoint

test-tls-connection host:port ca_certificate_file
[-s certificate_file | --save-certificate certificate_file]
[-n | --no-view-certificate]
[-c | --no-check-certificate]
[-- openssl_args ...]

test-tls-connection [-h | --help]

test-tls-connection tests TLS connection to a remote endpoint. The certificate provided by the remote endpoint can be verified (by calling check-certificate) or only displayed (by using view-certificate). Optionally, it can also be saved as PEM file.

The following options are available:

host:port
Specifies hostname or IP address, and TCP port number of the remote endpoint to connect to.
ca_certificate_file
Specifies the CA certificate to verify the certificate of the remote endpoint.
certificate_file | certificate_file
Specifies a file name to store the certificate of the remote endpoint (as PEM file).
-- openssl_args ...
Specifies optional OpenSSL arguments. All arguments after -- are passed to OpenSSL.
|
Do not run view-certificate on the received certificate of the remote endpoint.
|
Do not run check-certificate on the received certificate of the remote endpoint.
|
Prints command-line parameters.

test-tls-connection www.heise.de:443 /usr/share/ca-certificates/mozilla/ISRG_Root_X1.crt
 
test-tls-connection www.nntb.no:443 /usr/share/ca-certificates/mozilla/ISRG_Root_X1.crt --no-view-certificate
 
test-tls-connection www.nntb.no:443 /usr/share/ca-certificates/mozilla/ISRG_Root_X1.crt --no-check-certificate
 
test-tls-connection www.nntb.no:443 /usr/share/ca-certificates/mozilla/ISRG_Root_X1.crt -save-certificate www.nntb.no.crt
 
test-tls-connection www.heise.de:443 /usr/share/ca-certificates/mozilla/ISRG_Root_X1.crt -n -c -s www.heise.de.crt
 
test-tls-connection www.ietf.org:443 /usr/share/ca-certificates/mozilla/ISRG_Root_X1.crt -s www.ietf.org.crt
 
test-tls-connection www.dnb.no:443 /usr/share/ca-certificates/mozilla/Buypass_Class_3_Root_CA.crt -s www.dnb.no
 
test-tls-connection --help
 
test-tls-connection -h
 
November 28, 2025 test-tls-connection

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.