Name: uaa-release
Owner: Cloud Foundry
Description: null
Created: 2015-08-20 23:32:50.0
Updated: 2018-05-23 17:49:27.0
Pushed: 2018-05-23 17:49:24.0
Homepage: null
Size: 3842
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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.
n.saml.serviceProviderCertificate:
ription: "UAA SAML Service provider certificate. This is used for signing outgoing SAML Authentication Requests"
n.saml.serviceProviderKey:
ription: "Private key for the service provider certificate."
jwt.policy.keys:
cription: "Map of key IDs and signing keys, each defined with a property `signingKey`"
example:
key-1:
signingKey
.jwt.policy.active_key_id:
cription: "The ID of the JWT signing key to be used when signing tokens."
mple: "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.
openssl genrsa -aes256 -out server.key 1024
openssl rsa -in server.key -out server.key
openssl req -x509 -sha256 -new -key server.key -out server.csr
openssl x509 -sha256 -days 365 -in server.csr -signkey server.key -out selfsigned.crt
Create a feature branch from the development branch
aa-release
checkout develop
submodule update
checkout -b my_branch
Make changes on your branch
Deploy your version of uaa-release to test the changes
Push to your fork (git push origin my_branch
) and
submit a pull request
selecting develop
as the target branch
We have provided a sample manifest for a bosh-lite uaa-release deployment. Make sure you modify the director uuid in the manifest to match yours
bosh upload-stemcell https://bosh.io/d/stemcells/bosh-warden-boshlite-ubuntu-trusty-go_agent --skip-if-exists
bosh create-release
bosh upload-release
bosh -n -e vbox -d uaa deploy \
templates/uaa-deployment.yml \
--vars-store creds.yml \
-v system_domain=uaa-standalone.com
After that you can get the IP address and add the hostname to your /etc/hosts
file
You may want to setup an entry in your /etc/hosts
10.244.0.118 uaa.uaa-standalone.com
And you access it using
https://uaa.uaa-standalone.com:8443/
Java Runtime Environments are gracefully 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
Mac JDK - https://java-buildpack.cloudfoundry.org/openjdk-jdk/mountainlion/x86_64/index.yml
Mac JRE - https://java-buildpack.cloudfoundry.org/openjdk/mountainlion/x86_64/index.yml