See docs taken from bosh-micro-cli circa mid-2015.
The properties below need to be generated explicitly per deployment of UAA release and are required for proper start-up and functioning of UAA. These are standard artifacts which can be generated using openssl. Please refer the topic below on how to generate a self signed cert.
login.saml.serviceProviderCertificate:
description: "UAA SAML Service provider certificate. This is used for signing outgoing SAML Authentication Requests"
login.saml.serviceProviderKey:
description: "Private key for the service provider certificate."
uaa.jwt.policy.keys:
description: "Map of key IDs and signing keys, each defined with a property `signingKey`"
example:
key-1:
signingKey
uaa.jwt.policy.active_key_id:
description: "The ID of the JWT signing key to be used when signing tokens."
example: "key-1"
By default UAA is configured to use SSL with a self-signed certificate and will be started on port 8443.
Add the following properties to your manifest:
-
uaa.sslCertificate: Specifies your SSL certificate -
uaa.sslPrivateKey: Specifies your private key. The key must be a passphrase-less key.
Both the standalone Tomcat and Spring Boot runtimes load the TLS identity directly
from PEM files. Supply uaa.sslCertificate with the leaf certificate first,
followed by any intermediate certificates. Pre-start normalizes the private key
to unencrypted PKCS#8 and writes the runtime PEM files under /var/vcap/data/uaa/
with mode 0600, owned by vcap. The key must remain available while UAA runs.
Loading PEM files directly avoids the OpenSSL PKCS#12 password-derivation path that fails with the Noble FIPS provider. JVM truststore handling is unchanged; PEM loading alone does not establish FIPS 140-3 compliance for the application's cryptographic providers.
- Generate your private key with any passphrase
openssl genrsa -aes256 -out server.key 1024
- Remove passphrase from key
openssl rsa -in server.key -out server.key
- Generate certificate signing request for CA
openssl req -x509 -sha256 -new -key server.key -out server.csr
- Generate self-signed certificate with 365 days expiry-time
openssl x509 -sha256 -days 365 -in server.csr -signkey server.key -out selfsigned.crt
-
Create a feature branch from the development branch
cd uaa-release git checkout develop git submodule update git checkout -b my_branch -
Make changes on your branch
-
Run the tests (requires ruby)
bundle install && bundle exec rake -
Deploy your version of uaa-release to test the changes
-
Push to your fork (
git push origin my_branch) and submit a pull request selectingdevelopas the target branch
Java Runtime Environments are graciously supplied by the Cloud Foundry Java Buildpack Team
JDK - https://java-buildpack.cloudfoundry.org/openjdk-jdk/trusty/x86_64/index.yml JRE - https://java-buildpack.cloudfoundry.org/openjdk/trusty/x86_64/index.yml
To run the Ruby template tests, run scripts/run-template-tests.rb.
- We'd like to extend a thank you to all our users, contributors and supporters!