Application Blocked on a System with Carbon Black Installed

Carbon Black is security software that can block your application from running unless you whitelist it.  Here’s a description of how a Chilkat user discovered that Carbon Black was the cause of his PowerBuilder application not working. We figured out why the executable could not retrieve a token from Box. It was not a firewall/network issue, the application was being […]

Office365 Modern Authentication for IMAP, POP3, and SMTP

This post documents how to implement Modern Authentication (OAuth2) for Office365 for the IMAP, POP3, and SMTP protocols.  The very first thing you’ll need to do is to create an “App Registration” in Azure Active Directory. See this Chilkat blog post for Instructions for Setting Up an App Registration in Azure for Modern Authentication for IMAP, SMTP, and POP3. It’s […]

Create Azure App Registration for use with IMAP, POP3, and SMTP

1) Go to and login to your Microsoft account. then go to Azure Active Directory.   2) Click On App Registrations * Copy your Tenant ID, you’ll need it later. 3) Click on “+ New registration” 4) Name your App and Click Register. Give it a name. For the Redirect URI, select “Web” and then use “http://localhost:3017/”. Your application […]

How to Create Microsoft Graph App (in Azure Portal) for Client Credentials Authentication

1) Go to and login to your Microsoft account. Then click on Azure Active Directory 2) Click on “App registrations” Copy your Tenant ID, you’ll need it later. 3) Click on “+ New registration” 4) Name Your App and Click Register Give it a name (can be anything) and click Register.  Given that the intended authentication is by client […]

Problems with XML Signatures for TicketBAI and FacturaE in Spain are Fixed in v9.5.0.92

Certain problems regarding the signing of XML documents for TicketBAI (Basque Government) and FacturaE in Spain have been fixed.  At the time of writing this blog post (31-July-2022), Chilkat v9.5.0.92 is not yet released.  You may send email to to request a pre-release.  Please indicate your programming language, operating system, etc. so that Chilkat knows exactly which build you […]

Bit4id Digital-DNA 0

Chilkat added support for the Bit4id Digital-DNA Identity device.   ( The easiest way to use the device for signing within applications is via the Chilkat.Cert.LoadFromSmartcard method. At the time of this writing (28-July-2022) the latest version of Chilkat (v9.5.0.91) does not yet support this device.  If v9.5.0.92 or later is not yet released, you can request a pre-release build by […]

Does Chilkat Support WebHooks?

Question:  I’ve been asked to write an application that supports WebHooks (asynchronous communications back to me) and RESTful API’s(synchronous send to them). Answer: Some REST API’s, such as Shopify, allow an application to create webhook subscriptions.  (See  When some event happens, the service (such as Shopify) will send an HTTP POST request to your applicaton’s endpoint URL specified by […]

Fix for Spain FacturaE Signature Online Example

A Chilkat user graciously reported an error in the example at “I use it to sign TicketBAI XML files and FacturaE in Spain. I noticed that the FacturaE signatures weren’t validating properly on some government websites with an error something like “the signature is not a correct xades signature”. The namespace “etsi” was replaced with “xades” in the following […]

Set Default Permissions of SFTP Uploaded Files to 664

Question:  How can I set the default permissions of every file uploaded without the need to change the file permissions on the server after the upload?  I want all uploaded files to have permissions 664. Answer: On most servers, the default file permissions should already be 664. To explicitly set the permissions to be used for uploaded files, then the […] Service Accounts (user representation of your app)

This post it to better explain what happens when you create an “App” in   Box will automatically generate a Service Account where the name of the account is the name of your app.  When you make API calls, it is for this service account, and the files that exist and what you see are not the same as your […]