Skip to content

Instantly share code, notes, and snippets.

@malys
malys / docker-compose.yml
Last active November 12, 2019 07:40 — forked from pantsel/docker-compose.yml
[Kong Docker] #kong #docker # docker-compose
# Mount wait-for-it https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh
version: "3"
networks:
kong-net:
driver: bridge
services:
#######################################
# Postgres: The database used by Kong
#######################################
@malys
malys / keycloak-mutual-ssl.sh
Last active February 5, 2024 16:59 — forked from gyfoster/keycloak-wildfly-mutual-ssl.txt
[Keycloak X509 authentication] Instructions for enabling mutual SSL in Keycloak and WildFly #keycloak #TLS #mutual #x509
#!/bin/bash
# X509 Browser and Direct grant
# https://access.redhat.com/documentation/en-us/red_hat_single_sign-on/7.2/html/server_administration_guide/authentication
# https://github.com/keycloak/keycloak-documentation/blob/4.8.x/server_admin/topics/authentication/x509.adoc
#https://stackoverflow.com/questions/54258996/git-bash-string-parameter-with-at-start-is-being-expanded-to-a-file-path
unameOut="$(uname -s)"
case "${unameOut}" in
CYGWIN*) prefix="/";;
@malys
malys / SSLPoke.java
Last active April 25, 2019 06:58 — forked from 4ndrej/SSLPoke.java
Test of java SSL / keystore / cert setup. Check the commet #1 for howto.
import javax.net.ssl.SSLSocket;
import javax.net.ssl.SSLSocketFactory;
import java.io.*;
/** Establish a SSL connection to a host and port, writes a byte and
* prints the response. See
* http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services
*/
public class SSLPoke {
public static void main(String[] args) {
@malys
malys / keycloak_aws_deployment.md
Last active April 18, 2019 11:21 — forked from pgchamberlin/keycloak_aws_deployment.md
Deploying Keycloak to AWS using a Ubuntu AMI

Deploying Keycloak to AWS Ligthsail

The objective of this guide is to deploy Keycloak to AWS in a minimally complex way for testing and discovery purposes. This means using the standalone build of Keycloak backed with Hibernate H2. The result is not a production ready system. It won't scale, it won't survive significant load, it can't be clustered.

Steps

  • Spin up and configure a Ubuntu
  • Install and configure Keycloak with an SSL cert

Spin up a Ubuntu and configure it

@malys
malys / rss.opml
Created January 25, 2018 17:01 — forked from jdecool/rss.opml
RSS feeds subscription
<?xml version="1.0" encoding="utf-8"?>
<opml version="1.0">
<head>
<dateCreated>Sun, 10 Sep 2017 11:23:55 +0200</dateCreated>
<title>Tiny Tiny RSS Feed Export</title>
</head>
<body>
<outline text="Actualité">
<outline type="rss" text="Devmag" xmlUrl="http://devmag.fr/feed/" htmlUrl="http://devmag.fr"/>
<outline type="rss" text="RSS | Usbek &amp; Rica" xmlUrl="https://usbeketrica.com/rss" htmlUrl="http://usbeketrica.com/"/>