Skip to content

Instantly share code, notes, and snippets.

View marcelomrwin's full-sized avatar

Marcelo Daniel Silva Sales marcelomrwin

  • Red Hat
  • Valencia - Spain
View GitHub Profile
@marcelomrwin
marcelomrwin / windows-11-keys.md
Created December 3, 2025 21:10 — forked from sevynkooper/windows-11-keys.md
Windows 11 Product Keys

NOTE

Please note that these are NOT valid Windows 11 product or license keys for Windows activation.

These keys merely designate the edition of Windows that will be installed during the setup process. However, they do not serve to activate or provide a legitimate license for the Windows installation.

Consequently, while these keys can help determine which version of Windows will be installed, they are insufficient for activating or legally licensing the operating system on your device.

Proper activation and licensing require valid product keys obtained through legitimate means.

@marcelomrwin
marcelomrwin / OpenSSL.md
Created October 6, 2021 21:56 — forked from mohanpedala/OpenSSL.md
OpenSSL Working with SSL Certificates, Private Keys, CSRs and Truststores

Generate a private key and a CSR(Certificate Signing Request )

Use this method if you want to use HTTPS (HTTP over TLS) to secure your Apache HTTP or Nginx web server, and you want to use a Certificate Authority (CA) to issue the SSL certificate. The CSR that is generated can be sent to a CA to request the issuance of a CA-signed SSL certificate. If your CA supports SHA-2, add the -sha256 option to sign the CSR with SHA-2.

Creating a 2048-bit private key (domain.key) and a CSR (domain.csr) from scratch:

openssl req -newkey rsa:2048 -nodes -keyout domain.key -out domain.csr

Creating a 2048-bit private key and public key

---
- name: Prepare instances for OpenShift Deployment on AWS
hosts: ocp*
become: yes
vars:
rhn_username: "{{ lookup('env','RHN_USERNAME') }}"
rhn_password: "{{ lookup('env','RHN_PASSWORD') }}"
rhn_pool: "{{ lookup('env','RHN_SUBSCRIPTION_POOL') }}"
dockerstorage_dev: "/dev/sdb"
  • Change Default response timeout for a specific route:
oc annotate route <route_name> --overwrite haproxy.router.openshift.io/timeout=10s
  • Add a nodeSelector on RC ou DC
oc patch dc|rc <dc_name> -p "spec:                                                                                         
  template: