Skip to main content

IIS Development Certificate Renewal

Extend Development Certificate for DealPOS RFID Integration

Riyan avatar
Written by Riyan
Updated today

The DealPOS RFID Integration uses an HTTPS development certificate to secure communication between the RFID device and the DealPOS application. This certificate is automatically created during the initial setup and is required for RFID scanning to function properly in the Buy and Logistic Transfer Order menus.

Please note that this certificate expires one year after the initial setup. Once expired, the RFID integration may no longer work correctly, which is why the certificate must be renewed manually by clearing the existing certificate and generating a new trusted one via the Command Line, as explained in this guide.

Step 1. Clean up Existing Certificates:

 dotnet dev-certs https --clean

Step 2. Trust a new one by running the following commands:

dotnet dev-certs https --trust

to check the current certificate list, you can run:

dotnet dev-certs https --check --verbose

How to renew IIS Development Certificate automatically with Task Scheduler

The renewal process can be automated using Windows Task Scheduler. By scheduling a recurring task that periodically checks the certificate status and renews it when it is close to expiration, the IIS development certificate can be kept valid without manual intervention.

Step 1. Create the .Bat file

Use the script to automate both cleanup and new issue

@echo off
echo Cleaning existing HTTPS development certificates...
dotnet dev-certs https --clean

echo.
echo Trusting a new HTTPS development certificate...
dotnet dev-certs https --trust

echo.
echo Certificate renewal completed.

Step 2. Create basic task in Task Scheduler

choose Monthly as the trigger, since the task needs to run in a specific month each year.

Select Start a program as the action and link your previously created batch file.


Related Articles


DealPOS is an online point-of-sale (POS) application specifically designed for retail businesses in categories like Fashion, Minimarkets, Electronics, Fresh Food, and Building Material Stores.

With DealPOS, you can manage both online and offline store inventory in real-time on a single platform. You can also sell through omnichannel (offline and online) as DealPOS integrates with marketplaces (Shopee, Tokopedia, TikTok Shop, Lazada) and instant web stores (Shopify and WooCommerce).

Did this answer your question?