Hello,
normally I have to create pki on PCs because of constraints related to the microcontrollers we use.
Then we import the .p12
files inside the HSM2 using scsh3
.
I would like to write a .js
script for the scsh3 engine to run to automate and be able to do it on the command line, without a GUI.
I tried looking at the examples here (GitHub - CardContact/scsh-scripts: Smart Card Shell Script Collection) but I couldn’t even log in with the PIN.
Do you guys have any examples?
best regards
Max
PS: consider that in addition to the .p12
files, I have available the .pem
files of both private keys and certificates