Skip to content

Instantly share code, notes, and snippets.

View edinhojorge's full-sized avatar
🏠
Working from home

Eder Luis Jorge edinhojorge

🏠
Working from home
View GitHub Profile
mqsisetdbparms -w c:\workdir\ACEServ1 -n jms::activeMqCf -u admin -p admin
mqsisetdbparms GLOBAL -n jms::activeMqCf -u admin -p admin
mqsisetdbparms GLOBAL -n jndi::org.apache.activemq.jndi.ActiveMQInitialContextFactory -u myuserid -p secret
org.apache.activemq.jndi.ActiveMQInitialContextFactory
@edinhojorge
edinhojorge / spring-boot-ssl-letsencrypt.txt
Last active March 13, 2019 23:16
Spring Boot let's encrypt ssl
cd /etc/letsencrypt/live/domain
openssl pkcs12 -export -in fullchain.pem -inkey privkey.pem -out keystore.p12 -name tomcat -CAfile chain.pem -caname root
application.properties:
server.port: 443
security.require-ssl=true
server.ssl.key-store:/etc/letsencrypt/live/domain/keystore.p12
package csc;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import org.jboss.forge.roaster.Roaster;
import org.jboss.forge.roaster.model.source.FieldSource;