Cannot generate certificate using CLI (characters not permissible error)

Cannot generate certificate using CLI (characters not permissible error)

BY 09 Mar 2019 SDK & IDE

Hi,

When I try to generate a certificate using the cli:

tizen certificate -a certAuthor -f certFile -p 12345

I got the following output:

No path option. Will be generated on ‘/tizen/sdk-data/keystore/author’.
Working path: /tizen/sdk-data/keystore/author
Generating a certificate with
  File name = certFile
  Container Password = *****
  Alias = certAuthor
  Key Password = *****
  Internal Certificates Directory = /tizen/sdk/tools/certificate-generator

When I check /tizen/sdk-data/cli/logs/cli.log, I find this:

2019-03-08 16:27:36,661 [TRACE] Main.java(130) – Start running Tizen CLI Main class…
2019-03-08 16:27:36,664 [TRACE] Main.java(131) – Argument count:9
2019-03-08 16:27:36,679 [TRACE] GenerateCertificateCLI.java(99) – Start certificate generation.
2019-03-08 16:27:36,679 [TRACE] GenerateCertificateCLI.java(101) – [Argument] Alias: certAuthor, Password: 12345
2019-03-08 16:27:36,679 [TRACE] GenerateCertificateCLI.java(102) – [Argument] Filename: certFile
2019-03-08 16:27:36,679 [TRACE] GenerateCertificateCLI.java(103) – [Argument] Country: null
2019-03-08 16:27:36,680 [TRACE] GenerateCertificateCLI.java(104) – [Argument] State: null
2019-03-08 16:27:36,680 [TRACE] GenerateCertificateCLI.java(105) – [Argument] City: null
2019-03-08 16:27:36,680 [TRACE] GenerateCertificateCLI.java(106) – [Argument] Organization: null
2019-03-08 16:27:36,680 [TRACE] GenerateCertificateCLI.java(107) – [Argument] Organization Unit: null
2019-03-08 16:27:36,680 [TRACE] GenerateCertificateCLI.java(108) – [Argument] Email: null
2019-03-08 16:27:36,680 [TRACE] GenerateCertificateCLI.java(109) – [Argument] Name: null
2019-03-08 16:27:36,680 [TRACE] GenerateCertificateCLI.java(193) – Current working directory: /tizen/sdk-data/keystore/author
2019-03-08 16:27:36,786 [ERROR] AbstractCLI.java(93) – Exception caught.pkcsKeyStore path string should not have special characters not permissible in unix type file system
org.tizen.ncli.exceptions.UnexpectedException: Exception caught.pkcsKeyStore path string should not have special characters not permissible in unix type file system
at org.tizen.ncli.subcommands.sign.GenerateCertificateCommand.call(GenerateCertificateCommand.java:135)
at org.tizen.ncli.subcommands.sign.GenerateCertificateCommand.call(GenerateCertificateCommand.java:57)
at org.tizen.ncli.subcommands.AbstractSubCommand.runCommand(AbstractSubCommand.java:76)
at org.tizen.ncli.ide.shell.GenerateCertificateCLI.execute(GenerateCertificateCLI.java:150)
at org.tizen.ncli.ide.shell.AbstractCLI.execute(AbstractCLI.java:91)
at org.tizen.ncli.ide.shell.Main.run(Main.java:186)
at org.tizen.ncli.ide.shell.Main.main(Main.java:118)
 
I don’t see any special characters in my request, so I don’t understand the error. You guys have any hints on this ?
 
Thanks
Written by