| 组织ID: |
org.kaazing |
| 项目ID: |
gateway.test.ca |
| 版本: |
1.0.0.24 |
| 最后修改时间: |
2019-11-01 02:44:44 |
| 包类型: |
jar |
| 标题: |
Keystore and Truststore used for testing TLS |
| 描述: |
A generated Keystore and Truststore that can be used for testing |
| 大小: |
91.69KB |
|
|
| Maven引入代码: |
<dependency>
<groupId>org.kaazing</groupId>
<artifactId>gateway.test.ca</artifactId>
<version>1.0.0.24</version>
</dependency>
|
| Gradle引入代码: |
org.kaazing:gateway.test.ca:1.0.0.24
|
| 下载Jar包: |
|
| POM文件内容: |
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2007-2008, Kaazing Corporation. All rights reserved. -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.kaazing</groupId>
<artifactId>common</artifactId>
<version>2.1.0.3</version>
</parent>
<groupId>org.kaazing</groupId>
<artifactId>gateway.test.ca</artifactId>
<version>1.0.0.24</version>
<packaging>jar</packaging>
<name>Keystore and Truststore used for testing TLS</name>
<description>A generated Keystore and Truststore that can be used for testing</description>
<url>https://github.com/kaazing/gateway.test.ca.git</url>
<scm>
<connection>scm:git:${project.scm.url}</connection>
<developerConnection>scm:git:${project.scm.url}</developerConnection>
<url>git@github.com:kaazing/gateway.test.ca.git</url>
</scm>
<dependencies>
<dependency>
<groupId>org.kaazing</groupId>
<artifactId>gateway.truststore</artifactId>
<version>[1.0.0.0, 1.1.0.0)</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.google.code.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<configuration>
<excludes>
<exclude>src/main/**/*</exclude>
<exclude>**/.svn/**</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-truststore</id>
<phase>generate-resources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/truststore</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>gmaven-plugin</artifactId>
<!-- Import certificates (localhost, kaazing.me, cluster.local) into
truststore.db -->
<executions>
<execution>
<id>importLocalhostCertificate</id>
<phase>generate-resources</phase>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<properties>
<keystore>${basedir}/target/truststore/truststore.db</keystore>
<file>${basedir}/src/main/resources/localhost.crt</file>
<storepass>changeit</storepass>
<alias>localhost</alias>
<trustcacerts>yes</trustcacerts>
</properties>
<source>${importcertificate.src}</source>
</configuration>
</execution>
<execution>
<id>importDemocaCertificate</id>
<phase>generate-resources</phase>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<properties>
<keystore>${basedir}/target/truststore/truststore.db</keystore>
<file>${basedir}/src/main/resources/democa.crt</file>
<storepass>changeit</storepass>
<alias>kaazing.democa</alias>
<trustcacerts>yes</trustcacerts>
</properties>
<source>${importcertificate.src}</source>
</configuration>
</execution>
<!-- Import ocsp.jks into Keystore -->
<execution>
<id>importOcspJksIntoKeystore</id>
<phase>generate-resources</phase>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<properties>
<srckeystore>src/main/resources/ocsp.jks</srckeystore>
<srcalias>ocsp</srcalias>
<srcstorepass>storepass</srcstorepass>
<destkeystore>${ocsp.file}</destkeystore>
<deststorepass>${default.password}</deststorepass>
<destalias>ocsp</destalias>
<deststoretype>JCEKS</deststoretype>
<destkeypass>${default.password}</destkeypass>
</properties>
<source>${importkeystore.src}</source>
</configuration>
</execution>
<!-- Import localhost.jks into Keystore -->
<execution>
<id>importLocalhostJksIntoKeystore</id>
<phase>generate-resources</phase>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<properties>
<srckeystore>${basedir}/src/main/resources/localhost.jks</srckeystore>
<srcalias>localhost</srcalias>
<srcstorepass>storepass</srcstorepass>
<destkeystore>${keystore.file}</destkeystore>
<deststorepass>${default.password}</deststorepass>
<destalias>localhost</destalias>
<deststoretype>JCEKS</deststoretype>
<destkeypass>${default.password}</destkeypass>
</properties>
<source>${importkeystore.src}</source>
</configuration>
</execution>
<execution>
<id>importKaazingTestJksIntoKeystore</id>
<phase>generate-resources</phase>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<properties>
<srckeystore>${basedir}/src/main/resources/kaazing-test.jks</srckeystore>
<srcalias>*.kaazing.test</srcalias>
<srcstorepass>storepass</srcstorepass>
<destkeystore>${keystore.file}</destkeystore>
<deststorepass>${default.password}</deststorepass>
<destalias>.kaazing.test</destalias>
<deststoretype>JCEKS</deststoretype>
<destkeypass>${default.password}</destkeypass>
</properties>
<source>${importkeystore.src}</source>
</configuration>
</execution>
<execution>
<id>importOneKaazingTestJksIntoKeystore</id>
<phase>generate-resources</phase>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<properties>
<srckeystore>${basedir}/src/main/resources/one.kaazing.test.jks</srckeystore>
<srcalias>one.kaazing.test</srcalias>
<srcstorepass>storepass</srcstorepass>
<destkeystore>${keystore.file}</destkeystore>
<deststorepass>${default.password}</deststorepass>
<destalias>one.kaazing.test</destalias>
<deststoretype>JCEKS</deststoretype>
<destkeypass>${default.password}</destkeypass>
</properties>
<source>${importkeystore.src}</source>
</configuration>
</execution>
<execution>
<id>importTwoKaazingTestJksIntoKeystore</id>
<phase>generate-resources</phase>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<properties>
<srckeystore>${basedir}/src/main/resources/two.kaazing.test.jks</srckeystore>
<srcalias>two.kaazing.test</srcalias>
<srcstorepass>storepass</srcstorepass>
<destkeystore>${keystore.file}</destkeystore>
<deststorepass>${default.password}</deststorepass>
<destalias>two.kaazing.test</destalias>
<deststoretype>JCEKS</deststoretype>
<destkeypass>${default.password}</destkeypass>
</properties>
<source>${importkeystore.src}</source>
</configuration>
</execution>
<execution>
<id>importOneExampleTestJksIntoKeystore</id>
<phase>generate-resources</phase>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<properties>
<srckeystore>${basedir}/src/main/resources/one.example.test.jks</srckeystore>
<srcalias>one.example.test</srcalias>
<srcstorepass>storepass</srcstorepass>
<destkeystore>${keystore.file}</destkeystore>
<deststorepass>${default.password}</deststorepass>
<destalias>one.example.test</destalias>
<deststoretype>JCEKS</deststoretype>
<destkeypass>${default.password}</destkeypass>
</properties>
<source>${importkeystore.src}</source>
</configuration>
</execution>
<execution>
<id>importTwoExampleTestJksIntoKeystore</id>
<phase>generate-resources</phase>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<properties>
<srckeystore>${basedir}/src/main/resources/two.example.test.jks</srckeystore>
<srcalias>two.example.test</srcalias>
<srcstorepass>storepass</srcstorepass>
<destkeystore>${keystore.file}</destkeystore>
<deststorepass>${default.password}</deststorepass>
<destalias>two.example.test</destalias>
<deststoretype>JCEKS</deststoretype>
<destkeypass>${default.password}</destkeypass>
</properties>
<source>${importkeystore.src}</source>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copyKeystorePwToKeystore</id>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${compile.dir}</outputDirectory>
<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
</resource>
<resource>
<directory>target</directory>
<includes>
<include>keystore.db</include>
</includes>
</resource>
<resource>
<directory>target</directory>
<includes>
<include>ocsp.db</include>
</includes>
</resource>
<resource>
<directory>${basedir}/target/truststore</directory>
<includes>
<include>truststore.db</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
<configuration>
<descriptors>
<descriptor>${basedir}/src/main/assembly/src.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<default.password>ab987c</default.password>
<keystore.file>${basedir}/target/keystore.db</keystore.file>
<ocsp.file>${basedir}/target/ocsp.db</ocsp.file>
<importkeystore.src>${basedir}/src/main/groovy/importKeystore.groovy</importkeystore.src>
<gensecretkey.src>${basedir}/src/main/groovy/generateSecretKey.groovy</gensecretkey.src>
<importcertificate.src>${basedir}/src/main/groovy/importCertificate.groovy</importcertificate.src>
<compile.dir>${basedir}/target/output</compile.dir>
</properties>
</project>
|
| Jar包内容: |
META-INF/MANIFEST.MF
add-to-cacerts.bat
add-to-cacerts.sh
create-all-certificates.sh
create-certificate.sh
create-democa.sh
create-ocsp.sh
democa.crt
import-certificate.sh
kaazing-test.crt
kaazing-test.jks
keystore.db
keytool.dnsname.jar
localhost.crt
localhost.jks
ocsp.jks
one.example.test.crt
one.example.test.jks
one.kaazing.test.crt
one.kaazing.test.jks
two.example.test.crt
two.example.test.jks
two.kaazing.test.crt
two.kaazing.test.jks
|
| 依赖Jar: |
gateway.truststore-[1.0.0.0, 1.1.0.0).jar
/org.kaazing/gateway.truststore/[1.0.0.0, 1.1.0.0)
查看gateway.truststore所有版本文件
|