This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [standalone@localhost:9990 /] /subsystem=undertow/server=default-server/\ | |
| host=default-host/setting=access-log:read-resource-description | |
| { | |
| "outcome" => "success", | |
| "result" => { | |
| "description" => "The access log configuration for this virtual\ | |
| server.", | |
| "access-constraints" => {"sensitive" => {"web-access-log" =>\ | |
| {"type" => "undertow"}}}, | |
| "attributes" => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo: required | |
| dist: trusty | |
| before_install: | |
| - sudo apt-get -qq update && sudo apt-get install -y --no-install-recommends texlive-full | |
| script: | |
| - pdflatex -interaction=nonstopmode -halt-on-error *.tex |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mysql -u foo -p -h 1.1.1.1 --ssl-ca=server-ca.pem --ssl-cert=client-cert.pem --ssl-key=client-key.pem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| keytool -import -alias server -file server-ca.pem -keystore truststore.jks -storepass password |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| openssl pkcs12 -export -in client-cert.pem -inkey client-key.pem -out client.p12 -name client |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| keytool -importkeystore -deststorepass password -destkeystore keystore.jks -srckeystore client.p12 -srcstoretype PKCS12 -srcstorepass password -alias client |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export JAVA_OPTS="-server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djavax.net.ssl.keyStore=keystore.jks -Djavax.net.ssl.keyStorePassword=password -Djavax.net.ssl.trustStore=truststore.jks -Djavax.net.ssl.trustStorePassword=password" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [standalone@localhost:9990 /] module add --name=com.mysql\ | |
| --resources=mysql-connector-java.jar\ | |
| --dependencies=javax.api,javax.transaction.api | |
| [standalone@localhost:9990 /] /subsystem=datasources/jdbc-driver=mysql:\ | |
| add(driver-name=mysql,driver-module-name=com.mysql,\ | |
| driver-xa-datasource-class-name=com.mysql.jdbc.jdbc2.optional.MysqlXADataSource) | |
| {"outcome" => "success"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [standalone@localhost:9990 /] data-source add --name=MySqlDS --driver-name=mysql \ | |
| --jndi-name=java:jboss/datasources/MySqlDS \ | |
| --connection-url=jdbc:mysql://1.1.1.1:3306/test?useSSL=true&requireSSL=true&verifyServerCertificate=true \ | |
| --user-name=foo --password=bar --enabled=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [standalone@localhost:9990 /] data-source test-connection-in-pool --name=MySqlDS | |
| true |