Package creation and private key.

Questions about WAPT Server / Requests and help related to the WAPT server
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
Libersa
Messages: 5
Registration: May 26, 2015 - 3:09 p.m.

June 3, 2015 - 3:29 PM

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.
rezidu
Messages: 21
Registration: March 16, 2015 - 10:21

June 5, 2015 - 09:35

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"
Libersa
Messages: 5
Registration: May 26, 2015 - 3:09 p.m.

June 5, 2015 - 1:08 PM

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.
Locked