From 6c124cf1ec6a37db482cca47f54d71d03ed5f5ee Mon Sep 17 00:00:00 2001 From: James Bayer Date: Wed, 19 Aug 2015 13:56:15 -0700 Subject: [PATCH 1/2] added custom ca certificates --- docs/jre-open_jdk_jre.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/jre-open_jdk_jre.md b/docs/jre-open_jdk_jre.md index 2865816639..6489dc425b 100644 --- a/docs/jre-open_jdk_jre.md +++ b/docs/jre-open_jdk_jre.md @@ -100,6 +100,9 @@ The total available memory is first allocated to each memory type in proportion Termination is guaranteed since there is a finite number of memory types and in each iteration either none of the remaining memory sizes is constrained by the corresponding range and allocation terminates or at least one memory size is constrained by the corresponding range and is omitted from the next iteration. +#### Custom CA Certificates +Use the [`copy_resources()`][] functionality included in the buildpack. The `resources` directory can contain a directory that will be overlaid on top of the component's sandbox directory. Put a custom `cacerts` file into `resources/open_jdk//lib/security` and it will be copied into `/lib/securtity/cacerts`. This strategy has been used to add [JCE Unlimited Strength][]. + [`config/open_jdk_jre.yml`]: ../config/open_jdk_jre.yml [Configuration and Extension]: ../README.md#configuration-and-extension [centos6]: http://download.pivotal.io.s3.amazonaws.com/openjdk/centos6/x86_64/index.yml @@ -110,3 +113,5 @@ Termination is guaranteed since there is a finite number of memory types and in [precise]: http://download.pivotal.io.s3.amazonaws.com/openjdk/precise/x86_64/index.yml [repositories]: extending-repositories.md [version syntax]: extending-repositories.md#version-syntax-and-ordering +[`copy_resources()`]: https://github.com/cloudfoundry/java-buildpack/blob/master/docs/extending-droplet.md#copy_resources +[JCE Unlimited Strength]: https://github.com/cloudfoundry/java-buildpack/issues/20 From 17ac175481c20947236a949082ed873ee10465eb Mon Sep 17 00:00:00 2001 From: James Bayer Date: Wed, 19 Aug 2015 13:58:01 -0700 Subject: [PATCH 2/2] removed duplicate slash --- docs/jre-open_jdk_jre.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/jre-open_jdk_jre.md b/docs/jre-open_jdk_jre.md index 6489dc425b..812da9cec6 100644 --- a/docs/jre-open_jdk_jre.md +++ b/docs/jre-open_jdk_jre.md @@ -101,7 +101,7 @@ The total available memory is first allocated to each memory type in proportion Termination is guaranteed since there is a finite number of memory types and in each iteration either none of the remaining memory sizes is constrained by the corresponding range and allocation terminates or at least one memory size is constrained by the corresponding range and is omitted from the next iteration. #### Custom CA Certificates -Use the [`copy_resources()`][] functionality included in the buildpack. The `resources` directory can contain a directory that will be overlaid on top of the component's sandbox directory. Put a custom `cacerts` file into `resources/open_jdk//lib/security` and it will be copied into `/lib/securtity/cacerts`. This strategy has been used to add [JCE Unlimited Strength][]. +Use the [`copy_resources()`][] functionality included in the buildpack. The `resources` directory can contain a directory that will be overlaid on top of the component's sandbox directory. Put a custom `cacerts` file into `resources/open_jdk/lib/security` and it will be copied into `/lib/securtity/cacerts`. This strategy has been used to add [JCE Unlimited Strength][]. [`config/open_jdk_jre.yml`]: ../config/open_jdk_jre.yml [Configuration and Extension]: ../README.md#configuration-and-extension