AddHttpsCertificate command "wrong filename"error | Telit Cinterion IoT Developer Community
February 23, 2018 - 10:38pm, 1017 views
I'm trying to generate the command to add a certificate to a EHS6 module, but jseccmd.jar always gives me an error for the command "AddHttpsCertificate" command (as per documentation). All other commands work fine and don't give error.
So if I execute the following command:
java -jar jseccmd.jar -cmd AddHttpsCertificate -imei [my_imei number] -alias operator -storepass keystorepass -keypass keypass -keystore ks/testchain.ks -filename mca.der > mca.bin
I always get the error:
wrong filename: mca.der
I get the error for whatever file I put for the -filename argument.
The mca.der is a CA root certificate for the certificate of the server I'm trying to connect to.
Hello,
Have you tried to use the exact format from documentation:
java -jar jseccmd.jar -cmd AddHttpsCertificate
-imei 012345678901234 -alias operator
-storepass keystorepass -keypass keypass
-keystore ./se_customer.ks
-filename ./server.der > AddHttpsCertificateTrusted.bin
Maybe that's the issue.
Regards,
Bartłomiej