To enable CORS in a Node.js HTTPS server, you can use the cors middleware package. First, install the package by running npm install cors in your project directory. Then, require the package in your server file and use it as middleware before your route handlers. This will allow you to configure CORS settings such as allowed origins, methods, and headers. Finally, don't forget to set the necessary CORS headers in your HTTPS server response.