Page 1 of 1

[RESOLVED] Certificates

Published: June 29, 2020 - 09:46
by flmk974
Hello,

I'm setting up a WAPT server and I've ended up with a lot of certificates scattered everywhere...

I have them in:
- c:\wapt\private: a random name with a .crt file and the same one with a .pem file
- c:\wapt\ssl: administrator.crt
- c:\private: administrator.pem and administrator.crt

I don't understand these certificates at all.

Administrator.pem and .cert were created during installation, but the rest...

Could someone please explain the differences and what I should keep/delete?

Thank you in advance.

Re: Certificates

Published: June 29, 2020 - 12:21
by sfonteneau
Hello,

in Wapt you can recognize private keys as .pem files and public keys as .crt files.

In C:\private you have your private and public key pairs which allow you to sign packets (mykey.pem and mykey.crt).

In c:\wapt\ssl you only have mykey.crt, this tells your agent that it accepts all Wapt packets from the mykey.pem key.

As for the files in c:\wapt\private, they are completely internal to Wapt; you don't need them.
For more information, see: https://www.wapt.fr/fr/doc/wapt-securit ... urn-states.

Regarding the certificate, which is potentially located in c:\wapt\wapt\ssl\server, see:
https://www.wapt.fr/fr/doc/wapt-securit ... apt-agents

Re: Certificates

Published: July 3, 2020 - 7:01 AM
by flmk974
Hello,
thank you for the clarification.
I'm facing another issue: package uploading.
When I go to "Tools," then "Generate Package Template," the "Create and Upload" button remains grayed out.
I have to go to "Create and Edit," then go to the PyScripter project explorer and type "-i build-upload."
I saw that I needed to set the prefix and enter the certificate in the WAPT console preferences, but that didn't change anything.
Thank you in advance.

Re: Certificates

Published: July 3, 2020 - 11:32 AM
by sfonteneau
flmk974 wrote: July 3, 2020 - 7:01 AM Hello,
Thank you for this clarification.
I am facing another problem: Uploading packages.
When I go to "Tools", "Generate a package template", the "Create and upload" button remains grayed out.
That's normal if it's an executable file, since the package must be tested before upload (using an uninstall key, etc.)

https://www.youtube.com/watch?v=z_EN2CBCTcY

Re: Certificates

Published: July 6, 2020 - 7:30 AM
by flmk974
OK

thanks.