Skip to content

Instantly share code, notes, and snippets.

@Liam-Ryan
Liam-Ryan / openssl.MD
Last active November 11, 2023 02:52 — forked from jchandra74/openssl.MD
HOWTO: Create Your Own Self-Signed Certificate with Subject Alternative Names Using OpenSSL

HOWTO: Create Your Own Self-Signed Certificate with Subject Alternative Names Using OpenSSL

Forked from JChandra's version to deal with accessing the IP from multiple hosts on network

Install OpenSSL

To install openssl run the following command from the bash shell:

sudo apt-get install openssl

For Windows machines you will need to download the binary and install. I recommend using a unix compatible terminal like mobaxterm or cygwin.

import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { enableProdMode } from '@angular/core';
import { AppModule } from './app/app.module';
if (process.env.ENV === 'production') {
enableProdMode();
}
platformBrowserDynamic().bootstrapModule(AppModule);