1. Glenn Scamman
  2. PowerBuilder
  3. Thursday, 5 August 2021 10:07 PM UTC

Hello, we are in the development/testing phase of a PB2019R3 app that we want to deploy with Powerclient.  We've run into our first case of a test user not being able to launch our app because of the antivirus software BitDefender on their laptop.  I was hoping that signing our application will ease this issue that BitDefender has with our .exe.  However, I'm having trouble getting Powerclient to sign the app.

I have installed MS's signtool.exe and read about its syntax.  I have created a self-signed certificate using the Powershell commandlet New-SelfSignedCertificate.  I exported that certificate as a pfx file (with a pw). I filled out the 'Signing' page of the Powerclient project with the location of signtool.exe, location of the pfx file, the pw, the algorithm SHA256, and left the URL of the timestamp server as digicert's URL.  I then tried to build and deploy the Powerclient project, but it fails at the end with "Failed to sign the application...".  I tried again with blanking out the URL of the timestamp server, because this is a self-signed certificate.  It didn't like that ... "The application signature information is incorrectly configured".

My questions:

1) Can a self-signed certificate be used for testing a Powerclient deployment?

2) Can you use a certificate that isn't timestamp verified?

3) Is there a way to get more information about why the application is failing to get signed?

4) I don't know much about certificates, but some can't be exported as pfx files (at least with the certmgr.msc app). Can only .pfx certificate files be used for Powerclient signing?

5) this link, Create a certificate for package signing - MSIX | Microsoft Docs, discusses how the 'subject' of a self-signed certificate needs to match the 'publisher' in your apps manifest file. I have never used manifest files for my apps. Could this be what is causing the problem. I just matched the 'subject' to 'company name' on the Powerclient 'General' page.

6) We will be be requesting a certificate for a new company name in the near future, and we have used digicert for our main company.  Do I need to request anything special to have a certificate that can be exported to a .pfx file?

 

For now, I'll also be looking for documentation on how to let BitDefender Endpoint Security Tools trust an application, but from a short Teams meeting with this user, we didn't see a way to create or exclude our application from its scans. Their machines may be tightly managed and we may have to request their IT dept to add an exclusion rule.

Regards and TIA, Glenn S.


Responses (2)
  1. Likes
  2. Latest
  3. Oldest
Loading...

Find Questions by Tag

.EXE .NET 6.0 .NET Assembly .NET Core 3.1 .NET Core Framework .NET DataStore .NET Std Framework 32-bit 64-bit ADO.NET AEM AI Algorithm Amazon AWS Android Apache API APK App Store App Store (Apple) Appeon Workspace Appeon Xcelerator Plug-in Architecture Array ASE Asynchronous Methods Authentication AutoBuild AutoCompiler Automated Testing Automation AutoScript Azure Barcode Base64 Batch BigData BLOB Branch & Merge Browser Bug Build Button C# C# Class Importer C# Editor C# Model generator Calendar Camera Certificate Chrome Citrix Class Client Client/Server Cloud Cluster Collection COM Command Line Compiler Compression Computed Field Configuration Controls Cookies Cordova Crash Cross-Platform Crosstab CSharpAssembly CSharpObject CSS CSV Cursor Data Database Database Driver Database Painter Database Profile Database Provider DataObject DataSource DataStore DataStore (C#) DataStore (PS) DataType DataWindow DATE DATETIME DB2 Debug Debugger Debugging Deployment Design DLL DO-WHILE Dockable Docker Documentation DOUBLE Download DragDrop Edge Edit Style Editor Elevate Conference Email Embedded SQL Emulator Encoding Encryption Enhancement Request Entity Entity Framework ERP Error Event Event Handler Event Handling Excel Exception Export Expression External Functions F# Field File File Access Filter Firefox Firewall Font FOR-NEXT Foreground Format Function Garbage Collection GeoLocation Git Graph HANA Hash Header HTML/5 HTTP/S HTTPClient Icon IDE Identity IIS IMAPI Import InfoMaker Inheritance Installation Integer IntelliSense Interface Internet Internet Explorer iOS IPA iPad iPhone IWA J# Java JavaScript JBoss JDBC JOIN JSON JSONGenerator JSONParser Kestrel Label Lambda Large File LDAP Library License LINQ Linux OS Load Balancing Localization Localized PBVM Log In Log Out Logging LONG LONGLONG macOS MAPI Maps MDI Memory Memory Leak Menu Merge MessageBox Messagging Method Migration MIME TYPE Mobile Model ModelStore ModelStore (C#) MSOLEDBSQL Multi Threading MVC MySQL n-Tier Namespace NativePDF NVO OAuth ODATA ODBC Office Offline OLE OLEDB Online Open Source OpenAPI OpenSSL Oracle OrcaScript Other Outlook Output Package Parameter Patch PayPal PB Classic PB Native PB.NET PBC PBD PBDOM PBG PBJVM PBL PBNI PBORCA PBVM PBX PDF Performance Permission PFC Picture Pipeline Play Store (Google) Plugin Popup Port POST PostgreSQL PowerBuilder PowerBuilder (Appeon) PowerBuilder (SAP) PowerBuilder Compiler PowerBuilder Runtime PowerClient PowerScript (PS) PowerScript IDE PowerScript Migrator PowerServer PowerServer Mobile PowerServer Toolkit PowerServer Web PowerServerLabel Print Properties Proxy Publish PULL PUSH Query Regression Release Renew Resize Response REST Retrieve RibbonBar RibbonBar Builder Rich Text Roadmap RPC Runtime Packager SaaS Scaffolding Script SDI SDK Security Server Service Session Single Sign-on Size SMTP SMTPClient SnapDevelop SOAP Sort Source Code Speech Recognition SQL SQL Anywhere SQL Server SqlBuilder SqlExecutor SQLite SqlModelMapper Storage Stored Procedure Subscription SVN Swagger Syntax TabbedBar TabbedView Tablet TabPage Target TE Control Testing Text TFS Theme TIME Timer TLS/SSL Tomcat TortoiseGit TortoiseSVN Transaction Transparency Trial Trigger TRY-CATCH TX Control Type UI ULONG UltraLite Uninstall Unit Test Unit Testing UNIX OS Update Upgrade Upload URL User Center User Object UWP Validation VARCHAR Variable Versioning Visual Studio Visual Studio Code VM Voice Warning WCF Web API Web Extensions Web Service WebBrowser WebForms WebLogic WebSphere WildFly WinAPI Window Windows OS WinForms Wizard Workgroup Workspace WPF XCODE XHTML XML Zoom

Helpful?

If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.