Page 1 of 1

Package creation and private key.

Published: June 3, 2015 - 3:29 PM
by Libersa
Hello,

I'm encountering another error with WAPT, this time with package creation.
When I run the commands, the command prompt displays the following errors:

For "wapt-get make-template":
"Warning: No private key provided, package [...].wapt is unsigned!"

For "wapt-get sign-package":
"Fatal error: exception: Private Key filename not set in private_key".

My local configuration correctly specifies the location of the private key for package signing, but this doesn't seem to be applied. Is there a configuration file I need to modify?

Thank you in advance for your help.

Re: Package creation and private key.

Published: June 5, 2015 - 09:35
by rezidu
Hello,

I've had similar problems with the private key before.

I'm not entirely sure how to resolve it in the configuration files.

But try temporarily using "-k"

Re: Package creation and private key.

Published: June 5, 2015 - 1:08 PM
by Libersa
Hello,

a colleague of mine found the solution:

Edit the wapt-get.ini file with Notepad++ and add the following line:
private_key=

Example:
private_key=C:\keyfolder\waptkey.pem

This solved our problem; I hope it will do the same for others.

Sincerely,
Libersa.