I`m trying to find out how to create a CSR on HSM6 with function create_public_key_file() , please could help us giving a sample of this with input data ( CN, , OU, …) ?
def zymkey.module.Zymkey.create_public_key_file (
slot = 0,
foreign = False )
Create a file with the PEM-formatted public key.
This method is useful for generating a Certificate Signing Request.