$ src/test/bash/install_vault.sh
-diff --git a/2.2.x/reference/html/README.html b/2.2.x/reference/html/README.html index a3829766..9df01e54 100644 --- a/2.2.x/reference/html/README.html +++ b/2.2.x/reference/html/README.html @@ -193,24 +193,29 @@ $(addBlockSwitches);
wget, openssl and unzip
at least Java 7 and a properly configured JAVA_HOME environment variable
at least Java 8 and a properly configured JAVA_HOME environment variable
| + + | ++This guide explains Vault setup from a Spring Cloud Vault perspective for integration testing. You can find a getting started guide directly on the Vault project site: https://learn.hashicorp.com/vault + | +
Install Vault
$ src/test/bash/install_vault.sh
-Create SSL certificates for Vault
-$ src/test/bash/create_certificates.sh
+$ wget https://releases.hashicorp.com/vault/${vault_version}/vault_${vault_version}_${platform}.zip
+$ unzip vault_${vault_version}_${platform}.zip
create_certificates.sh creates certificates in work/ca and a JKS truststore work/keystore.jks. If you want to run Spring Cloud Vault using this quickstart guide you need to configure the truststore the spring.cloud.vault.ssl.trust-store property to file:work/keystore.jks.
+These steps can be achieved by downloading and running install_vault.sh.
+Create SSL certificates for Vault
+Next, you’r required to generate a set of certificates:
+Root CA
+Vault Certificate (decryted key work/ca/private/localhost.decrypted.key.pem and certificate work/ca/certs/localhost.cert.pem)
Make sure to import the Root Certificate into a Java-compliant truststore.
+The easiest way to achieve this is by using OpenSSL.
+| + + | +
+create_certificates.sh creates certificates in work/ca and a JKS truststore work/keystore.jks. If you want to run Spring Cloud Vault using this quickstart guide you need to configure the truststore the spring.cloud.vault.ssl.trust-store property to file:work/keystore.jks.
|
Start Vault server
Next create a config file along the lines of:
+$ src/test/bash/local_run_vault.sh
+backend "inmem" {
+}
+
+listener "tcp" {
+ address = "0.0.0.0:8200"
+ tls_cert_file = "work/ca/certs/localhost.cert.pem"
+ tls_key_file = "work/ca/private/localhost.decrypted.key.pem"
+}
+
+disable_mlock = true
+| + + | +
+You can find an example config file at vault.conf.
+ |
+
$ vault server -config=vault.conf
Vault is started listening on 0.0.0.0:8200 using the inmem storage and
-https.
+
Vault is started listening on 0.0.0.0:8200 using the inmem storage and https.
Vault is sealed and not initialized when starting up.
wget, openssl and unzip
at least Java 7 and a properly configured JAVA_HOME environment variable
at least Java 8 and a properly configured JAVA_HOME environment variable
| + + | ++This guide explains Vault setup from a Spring Cloud Vault perspective for integration testing. You can find a getting started guide directly on the Vault project site: https://learn.hashicorp.com/vault + | +
Install Vault
$ src/test/bash/install_vault.sh
-Create SSL certificates for Vault
-$ src/test/bash/create_certificates.sh
+$ wget https://releases.hashicorp.com/vault/${vault_version}/vault_${vault_version}_${platform}.zip
+$ unzip vault_${vault_version}_${platform}.zip
create_certificates.sh creates certificates in work/ca and a JKS truststore work/keystore.jks. If you want to run Spring Cloud Vault using this quickstart guide you need to configure the truststore the spring.cloud.vault.ssl.trust-store property to file:work/keystore.jks.
+These steps can be achieved by downloading and running install_vault.sh.
+Create SSL certificates for Vault
+Next, you’r required to generate a set of certificates:
+Root CA
+Vault Certificate (decryted key work/ca/private/localhost.decrypted.key.pem and certificate work/ca/certs/localhost.cert.pem)
Make sure to import the Root Certificate into a Java-compliant truststore.
+The easiest way to achieve this is by using OpenSSL.
+| + + | +
+create_certificates.sh creates certificates in work/ca and a JKS truststore work/keystore.jks. If you want to run Spring Cloud Vault using this quickstart guide you need to configure the truststore the spring.cloud.vault.ssl.trust-store property to file:work/keystore.jks.
|
Start Vault server
Next create a config file along the lines of:
+$ src/test/bash/local_run_vault.sh
+backend "inmem" {
+}
+
+listener "tcp" {
+ address = "0.0.0.0:8200"
+ tls_cert_file = "work/ca/certs/localhost.cert.pem"
+ tls_key_file = "work/ca/private/localhost.decrypted.key.pem"
+}
+
+disable_mlock = true
+| + + | +
+You can find an example config file at vault.conf.
+ |
+
$ vault server -config=vault.conf
Vault is started listening on 0.0.0.0:8200 using the inmem storage and
-https.
+
Vault is started listening on 0.0.0.0:8200 using the inmem storage and https.
Vault is sealed and not initialized when starting up.
wget, openssl and unzip
at least Java 7 and a properly configured JAVA_HOME environment variable
at least Java 8 and a properly configured JAVA_HOME environment variable
| + + | ++This guide explains Vault setup from a Spring Cloud Vault perspective for integration testing. You can find a getting started guide directly on the Vault project site: https://learn.hashicorp.com/vault + | +
Install Vault
$ src/test/bash/install_vault.sh
-Create SSL certificates for Vault
-$ src/test/bash/create_certificates.sh
+$ wget https://releases.hashicorp.com/vault/${vault_version}/vault_${vault_version}_${platform}.zip
+$ unzip vault_${vault_version}_${platform}.zip
create_certificates.sh creates certificates in work/ca and a JKS truststore work/keystore.jks. If you want to run Spring Cloud Vault using this quickstart guide you need to configure the truststore the spring.cloud.vault.ssl.trust-store property to file:work/keystore.jks.
+These steps can be achieved by downloading and running install_vault.sh.
+Create SSL certificates for Vault
+Next, you’r required to generate a set of certificates:
+Root CA
+Vault Certificate (decryted key work/ca/private/localhost.decrypted.key.pem and certificate work/ca/certs/localhost.cert.pem)
Make sure to import the Root Certificate into a Java-compliant truststore.
+The easiest way to achieve this is by using OpenSSL.
+| + + | +
+create_certificates.sh creates certificates in work/ca and a JKS truststore work/keystore.jks. If you want to run Spring Cloud Vault using this quickstart guide you need to configure the truststore the spring.cloud.vault.ssl.trust-store property to file:work/keystore.jks.
|
Start Vault server
Next create a config file along the lines of:
+$ src/test/bash/local_run_vault.sh
+backend "inmem" {
+}
+
+listener "tcp" {
+ address = "0.0.0.0:8200"
+ tls_cert_file = "work/ca/certs/localhost.cert.pem"
+ tls_key_file = "work/ca/private/localhost.decrypted.key.pem"
+}
+
+disable_mlock = true
+| + + | +
+You can find an example config file at vault.conf.
+ |
+
$ vault server -config=vault.conf
Vault is started listening on 0.0.0.0:8200 using the inmem storage and
-https.
+
Vault is started listening on 0.0.0.0:8200 using the inmem storage and https.
Vault is sealed and not initialized when starting up.
wget, openssl and unzip
at least Java 7 and a properly configured JAVA_HOME environment variable
at least Java 8 and a properly configured JAVA_HOME environment variable
| + + | ++This guide explains Vault setup from a Spring Cloud Vault perspective for integration testing. You can find a getting started guide directly on the Vault project site: https://learn.hashicorp.com/vault + | +
Install Vault
$ src/test/bash/install_vault.sh
-Create SSL certificates for Vault
-$ src/test/bash/create_certificates.sh
+$ wget https://releases.hashicorp.com/vault/${vault_version}/vault_${vault_version}_${platform}.zip
+$ unzip vault_${vault_version}_${platform}.zip
create_certificates.sh creates certificates in work/ca and a JKS truststore work/keystore.jks. If you want to run Spring Cloud Vault using this quickstart guide you need to configure the truststore the spring.cloud.vault.ssl.trust-store property to file:work/keystore.jks.
+These steps can be achieved by downloading and running install_vault.sh.
+Create SSL certificates for Vault
+Next, you’r required to generate a set of certificates:
+Root CA
+Vault Certificate (decryted key work/ca/private/localhost.decrypted.key.pem and certificate work/ca/certs/localhost.cert.pem)
Make sure to import the Root Certificate into a Java-compliant truststore.
+The easiest way to achieve this is by using OpenSSL.
+| + + | +
+create_certificates.sh creates certificates in work/ca and a JKS truststore work/keystore.jks. If you want to run Spring Cloud Vault using this quickstart guide you need to configure the truststore the spring.cloud.vault.ssl.trust-store property to file:work/keystore.jks.
|
Start Vault server
Next create a config file along the lines of:
+$ src/test/bash/local_run_vault.sh
+backend "inmem" {
+}
+
+listener "tcp" {
+ address = "0.0.0.0:8200"
+ tls_cert_file = "work/ca/certs/localhost.cert.pem"
+ tls_key_file = "work/ca/private/localhost.decrypted.key.pem"
+}
+
+disable_mlock = true
+| + + | +
+You can find an example config file at vault.conf.
+ |
+
$ vault server -config=vault.conf
Vault is started listening on 0.0.0.0:8200 using the inmem storage and
-https.
+
Vault is started listening on 0.0.0.0:8200 using the inmem storage and https.
Vault is sealed and not initialized when starting up.