Page 1 of 1

[SOLVED] Internet import private key issue / agent

Published: May 11, 2016 - 11:24
by virtux
Hello,

I'm having trouble with my setup. When I try to import packages from the internet or create my WAPT agent, I get the following message: "The private key does not exist."

My infrastructure:

1 Debian 8 server with WAPT (https://dev.tranquil.it/scenari/guide_a ... ebian.html)
1 client workstation with WAPT console: Windows 7 Pro on a domain
1 client workstation: Windows 7 Pro on a domain
1 client workstation: Windows 7 Pro on a non-domain

I followed the procedure described above to the letter, and I do have certificates (PEM and CRT) in my c:\private\ directory.

I specified the path to the private key in the WAPT preferences (see attached image).

Do I need to integrate the private key into the Debian server? I performed the same installation with a WAPT server on Windows without any problems.

Thank you for your help.

Follow-up question: With a Debian server, are the downloaded WAPT packages stored locally on the Debian machine? If so, is it possible to change their location?

Re: Internet import private key problem / agent creation

Published: May 11, 2016 - 2:30 PM
by virtux
Hello again,

While browsing a website https://wiki.lesfourmisduweb.org/index. ... nsole_WAPT,

I read a sentence about DNS:

"Using IP addresses is not recommended (some bugs have been reported)."
In production, I use the fully qualified domain name (wapt.mydomain.fr). It has the advantage of working even if the `nslookup` command for Wapt fails.


So, I reconfigured my console by calling the DNS name, and that resolved my issue. :D I'll test my theory on how to solve the problem with the second prototype this evening.

My follow-up question remains: With a Debian server, are the downloaded WAPT packages stored locally on the Debian machine? If so, is it possible to change their location?

Re: Internet import private key problem / agent creation

Published: May 11, 2016 - 2:56 PM
by sfonteneau
The DNS solution is still strange...

On a Debian server, the directory is /var/www/wapt/.

To modify this directory (not tested):

edit: /etc/apache2/sites-available/wapt.conf.

Or, more simply, create a symbolic link.

Re: Internet import private key problem / agent creation

Published: May 11, 2016 - 3:12 PM
by virtux
Thank you for your reply.

I finally found the location for the packages.

Instead of using a symbolic link, I'm going to directly create a mount point for /var/www.

Thank you for your help.

(I'm going to create another mockup to recreate the certificate error.)