Page History
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
# navigate to the Agent's <agent-data>/config/private directory Set-Location $env:ProgramDatacd /var/sos-berlin.com/js7/agent/config/private # create the private key in pkcs#1 format # without passphrase # openssl ecparam -name secp256k1 -genkey -noout -out agent.key # with passphrase openssl ecparam -genkey -name secp256k1 | openssl ec -aes256 -passout pass:"jobscheduler" -out agent.key # create certificate openssl req -new -x509 -key agent.key -passin pass:"jobscheduler" -out agent.crt -days 1825 # extract public key from private key openssl ec -in agent.key -passin pass:"jobscheduler" -pubout > agent.pub |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
# navigate to the Agent's <agent-data>/config/private directory cd /varcd %ProgramData%/sos-berlin.com/js7/agent/config/private # create the private key and certificate files in pkcs#1 format using "jobscheduler" as a in pkcs#1 format # without passphrase # openssl req -x509 -sha256 -newkey rsa:2048 -keyout agent.key -out agent.crt # with passphrase openssl req -x509 -sha256 -newkey rsa:2048 -passout pass:"jobscheduler" -keyout myagent.key -out myagent.crt # extract my.pub public key file from my.crt certificate file openssl x509 -pubkey -noout -in myagent.crt > myagent.pub |
Step 2: Make public key available
...
Overview
Content Tools