---
title: "Discussion on \"Locking Down your Dev Environment with Webpack DevServer and mkcert\" | Hashnode"
description: "Discussion on \"Locking Down your Dev Environment with Webpack DevServer and mkcert\". A simple guide to serving your application over HTTPS using Webpack DevServer and mkcert with your own custom hostname."
url: "https://hashnode.com/posts/locking-down-your-dev-environment-with-webpack-devserver-and-mkcert/61bfa82d02755832385f2f62"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Locking Down your Dev Environment with Webpack DevServer and mkcert](https://blog.theandrewgrass.com/locking-down-your-dev-environment-with-webpack-devserver-and-mkcert?utm_source=hashnode&utm_medium=feed)

A simple guide to serving your application over HTTPS using Webpack DevServer and mkcert with your own custom hostname.

Dec 19, 2021 · 6 min read · blog.theandrewgrass.com  
Updated Dec 21, 2021  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#webpack](https://hashnode.com/tag/webpack)
-   [#security](https://hashnode.com/tag/security)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Andrew Grass](https://hashnode.com/@theandrewgrass)

@theandrewgrass · Ontario, Canada

  
[View profile](https://hashnode.com/@theandrewgrass)

Full Stack Web Developer

I am a full stack web developer looking to learn new things and help teach others.

## Responses 1

Markdown supported · ⌘↵ to post

[M S Sripati](https://hashnode.com/@sripati)

[Dec 26, 2021](https://hashnode.com/posts/locking-down-your-dev-environment-with-webpack-devserver-and-mkcert/61bfa82d02755832385f2f62/comment/61c848451de80a7fb227ee8e)

Nice article.

What are your thoughts on using Let's Encrypt?

[Andrew Grass](https://hashnode.com/@theandrewgrass)

[Jan 10, 2022](https://hashnode.com/posts/locking-down-your-dev-environment-with-webpack-devserver-and-mkcert/61bfa82d02755832385f2f62/comment/61c848451de80a7fb227ee8e#reply-61db9f42cda0d0294b6993e2)

I like Let's Encrypt, however the two are used for different purposes. Let's Encrypt helps you generate real trusted certs whereas mkcert is used for testing and local development. So for the purposes of securing a dev environment, generating a cert using Let's Encrypt is probably overkill.
