Grzegorz Woźniak
  • Home
  • About me
SSL

SSL: Generating self-signed certificates with one openssl command

One command to generate SSL certificate with SAN (Subject Alternative Name).

Grzegorz Woźniak

Grzegorz Woźniak

22 Jun 2020
SSL: Generating self-signed certificates with one openssl command
Photo by regularguy.eth / Unsplash
openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 \ 
  -nodes -keyout example.key -out example.crt \ 
  -subj "/CN=example.com" \
  -addext "subjectAltName=DNS:example.com,DNS:www.example.com,IP:127.0.0.1"

Documentation:
https://www.openssl.org/docs/man1.1.1/man1/openssl-req.html

Read more

Java in Containers - Memory

Java in Containers - Memory

The default settings for Java memory are usually not efficient when application is deployed in a containerized environment. Read to learn more about default settings for Java memory in any environment!

By Grzegorz Woźniak 18 Nov 2023
How to provide custom Git configuration for different projects

How to provide custom Git configuration for different projects

Git provides an option to load different configurations based on path of repositories. It uses includeIf sections in ~/.gitconfig file, which allow you to include config directives from another source. Let's assume your projects are grouped by "parent" directories, like directory called company-a contains all projects

By Grzegorz Woźniak 12 Feb 2023
[PL] Jak skonfigurować router - MikroTik

[PL] Jak skonfigurować router - MikroTik

Zobacz jak skonfigurować router z adresem przyłączeniowym i pulą publicznych adresów IP.

By Grzegorz Woźniak 23 Aug 2022
[PL] Klient NFS w Windows 10

[PL] Klient NFS w Windows 10

Microsoft Windows 10 dostarcza klienta NFS w wersji 3, który umożliwia wykorzystanie zasobów NFS udostępnianych na innych serwerach. Zasoby NFS są zazwyczaj udostępniane przez serwery linuksowe lub sieciowe pamięci masowe (NAS). Identyfikator użytkownika (UID) i grupy (GID) w kliencie NFS różnią się najczęściej od identyfikatorów na serwerze NFS. W niniejszym

By Grzegorz Woźniak 18 Oct 2020
Grzegorz Woźniak
  • Containers
  • Java
Powered by Ghost