ojob.io/java/addCert

Usage

ojob ojob.io/java/addCert host=a.sample.host port=443 add=0 

Description

Given a host and a port will try to verify if the TLS certificate is already trusted or not. If not, it will retrieve the corresponding TLS certificate and add it to the current Java jssecacerts. If there isn't permissions to change the current Java jssecacerts it will create the jssecacerts files in the current folder.

Expects

Name Description
host The host or IP address from which to retrieve the TLS certificates
port The port of the host/IP address from which to retrieve the TLS certificates
add The number (starting in 0) of the certificate sent by the host to add to the jssecacerts