My Tizen cli version is: “Tizen CLI 2.5.25”
I am following the below command to build signed wgt “web-app” for tizen-8.0:
tizen certificate --name “John Doe” --country “US” --state “California” --city “San Francisco” --organization “MyCompany” --unit “DevTeam” --email “john.doe@example.com” --password “123456” --filename “newCert2” --alias “mynewCert”
tizen security-profiles add --name “myProfile” --author “/home/newusername/tizen-studio-data/keystore/author/newCert2.p12” --password “123456”
tizen security-profiles set-active --name “myProfile”
tizen package -t wgt -s myProfile – ./.buildResult
but at final command i am getting following error:
2024-08-29 05:40:27,184 [TRACE] Main.java(135) - Argument count:9
2024-08-29 05:40:27,199 [TRACE] PackageCLI.java(1336) - Execute PackageCLI…
2024-08-29 05:40:27,199 [TRACE] PackageCLI.java(1338) - getRealWorkingPath: /root/tizen_app/MyThorCannel/.buildResult
2024-08-29 05:40:27,583 [ERROR] AbstractCLI.java(93) - org.tizen.common.sign.exception.CertificationException: Invaild password
java.lang.IllegalStateException: org.tizen.common.sign.exception.CertificationException: Invaild password
at org.tizen.common.core.command.policy.UncaughtExceptionHandlingPolicy.uncaughtException(UncaughtExceptionHandlingPolicy.java:84)
at org.tizen.common.core.command.Executor.execute(Executor.java:179)
at org.tizen.common.core.command.Executor.execute(Executor.java:150)
at org.tizen.ncli.subcommands.sign.SignCLICommand.getSigningProfile(SignCLICommand.java:139)
at org.tizen.ncli.subcommands.sign.SignCLICommand.call(SignCLICommand.java:73)
at org.tizen.ncli.subcommands.sign.SignCLICommand.call(SignCLICommand.java:58)
at org.tizen.ncli.subcommands.AbstractSubCommand.runCommand(AbstractSubCommand.java:76)
at org.tizen.ncli.subcommands.packages.PackageCLICommand.call(PackageCLICommand.java:177)
at org.tizen.ncli.subcommands.packages.PackageCLICommand.call(PackageCLICommand.java:77)
at org.tizen.ncli.subcommands.AbstractSubCommand.runCommand(AbstractSubCommand.java:76)
at org.tizen.ncli.ide.shell.PackageCLI.doPackageForWgt(PackageCLI.java:983)
at org.tizen.ncli.ide.shell.PackageCLI.execute(PackageCLI.java:1473)
at org.tizen.ncli.ide.shell.AbstractCLI.execute(AbstractCLI.java:91)
at org.tizen.ncli.ide.shell.Main.run(Main.java:190)
at org.tizen.ncli.ide.shell.Main.main(Main.java:123)
Caused by: org.tizen.common.sign.exception.CertificationException: Invaild password
How to fix this error?