Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
using System.IO.Compression; | |
using Microsoft.AspNetCore.Http; | |
namespace DecompressDemo.Models.Services.Infrastructure | |
{ | |
public class DocumentPersister | |
{ | |
public void DecompressZipArchive(string directory, IFormFile formFile) | |
{ | |
using Stream stream = formFile.OpenReadStream(); |
# Remove the line below if you want to inherit .editorconfig settings from higher directories | |
root = true | |
[*] | |
#### Core EditorConfig Options #### | |
# Indentation and spacing | |
indent_size = 4 | |
indent_style = space |