Hi,
Think you can pull the cert locally on the management server, then transfer the opsec.p12 file to the OPSEC client host and use it to establish trust with your log server. Pretty sure it doesn’t do any additional communications with the management server, only with the log server on port 18184 during the first part of the connection to verify trust. You will of course want to do a database install on the log server after creating the OPSEC APP object.
Sorry, haven’t fully tested the below, but would start with this.
hth,
bob
[Expert@R80:0]# opsec_pull_cert
-bash: opsec_pull_cert: command not found
[Expert@R80:0]# find / -name opsec_pull_cert
/opt/CPrt-R80/log_indexer/opsec_pull_cert
/opt/CPSmartLog-R80/opsec_pull_cert
[Expert@R80:0]# /opt/CPrt-R80/log_indexer/opsec_pull_cert
CheckPoint 2001. Getting an object's certificate. Works once per certificate.
Usage: opsec_pull_cert -h host -n object-name -p passwd [-o cert_file] [-od dn_file]
-p is the one-time-password given in the Policy Editor when defining this entity.
-o is for the output certificate file. default is "($OPSECDIR/)opsec.p12".
-od is for the output sic name (one line text file).
A relative path filename will be concatenated to OPSECDIR env variable (if exists).
[Expert@R80:0]# /opt/CPrt-R80/log_indexer/opsec_pull_cert -h localhost -n MyOPSECApp -p abc123
The full entity sic name is:
CN=MyOPSECApp,O=R80..9bpe76
Certificate was created successfully and written to "opsec.p12".
[Expert@R80:0]# ls -l
total 4
-rw-rw---- 1 admin users 0 Jul 24 11:48 CKP_mutex::__CkpReg_Mutex_
-rw-rw---- 1 admin users 0 Jul 24 11:48 CKP_mutex::checkpoint_rand_mutex
-rw-rw---- 1 admin users 3219 Jul 24 11:48 opsec.p12
-rw-rw---- 1 admin users 0 Jul 3 15:16 sessiond.elg
On the OPSEC client, the OPSEC environment would look something like this.
opsec_sic_name <the DN of the OPSEC Application Object>
The SIC name is the OPSEC Application’s full DN (distinguished name) as defined by the SmartCenter Server. For example “CN=OPSEC_client,O=London..xyz”.
lea_server ip <Log Server IP address>
lea_server opsec_entity_sic_name <DN of the Log Server>
The OPSEC Client uses the Server entity’s SIC name as defined on the common SmartCenter Server. For example “CN=Log_Server,O=London..xyz”.