Skip to content

Instantly share code, notes, and snippets.

@edwint88
edwint88 / keycloak-wildfly-mutual-ssl.txt
Created October 11, 2022 18:16 — forked from gyfoster/keycloak-wildfly-mutual-ssl.txt
Instructions for enabling mutual SSL in Keycloak and WildFly
ROOT CA
--------------
Generate the CA private key:
$ openssl genrsa -out ca.key 2048
Create and self sign the root certificate:
$ openssl req -new -x509 -key ca.key -out ca.crt
Import root CA certificate into truststore:
$ keytool -import -file ca.crt -keystore ca.truststore -keypass <password> -storepass <password>
@edwint88
edwint88 / cardano-cli-completion.md
Created October 1, 2021 23:50 — forked from SmaugPool/cardano-cli-completion.md
cardano-cli Bash auto-completion

To enable cardano-cli and cardano-node bash auto-completion for the current shell:

source <(cardano-cli --bash-completion-script cardano-cli)
source <(cardano-cli --bash-completion-script cardano-node)

To enable it for all future sessions:

@edwint88
edwint88 / Application.java
Created July 30, 2019 14:54 — forked from ivargrimstad/Application.java
Microservices in Java - Boot example
@Configuration
@EnableAutoConfiguration
@EnableEurekaClient
@RestController
public class Application {
@RequestMapping("/")
public String home() {
return "Hello World";
}
@edwint88
edwint88 / ApplicationConfig.java
Created July 30, 2019 14:53 — forked from ivargrimstad/ApplicationConfig.java
Microservices in Java - Swarm example
@ApplicationPath("/")
public class ApplicationConfig extends Application {
@Override
public Set<Class<?>> getClasses() {
Set<Class<?>> resources = new HashSet<>();
resources.add(HelloResource.class);
return resources;
}
}