Skip to content

Commit

Permalink
Fixed marklogic-community#355: added missing certificates wrapper in …
Browse files Browse the repository at this point in the history
…sample config
  • Loading branch information
grtjn committed Feb 23, 2015
1 parent 930b3a8 commit 264f813
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
3 changes: 2 additions & 1 deletion deploy/sample/build.sample.properties
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ appuser-password=random
# To make your http appserver use TLS/SSL, uncomment the ssl-certificate-template
# here and uncomment the ssl-certificate-template element in ml-config.xml.
#
# To create a template, uncomment at least ssl-certificate-template and ssl-certificate-oranizationName
# To create a template, uncomment at least ssl-certificate-template,
# ssl-certificate-countryName, and ssl-certificate-oranizationName
# ssl-certificate-template=roxy
# ssl-certificate-countryName=US
# ssl-certificate-stateOrProvinceName=LA
Expand Down
20 changes: 11 additions & 9 deletions deploy/sample/ml-config.sample.xml
Original file line number Diff line number Diff line change
Expand Up @@ -424,15 +424,17 @@
@ml.triggers-db-xml
@ml.schemas-db-xml
</databases>
<certificate xmlns="http://marklogic.com/xdmp/pki">
<name>@ml.ssl-certificate-template</name>
<countryName>@ml.ssl-certificate-countryName</countryName>
<stateOrProvinceName>@ml.ssl-certificate-stateOrProvinceName</stateOrProvinceName>
<localityName>@ml.ssl-certificate-localityName</localityName>
<organizationName>@ml.ssl-certificate-organizationName</organizationName>
<organizationalUnitName>@ml.ssl-certificate-organizationalUnitName</organizationalUnitName>
<emailAddress>@ml.ssl-certificate-emailAddress</emailAddress>
</certificate>
<certificates xmlns="http://marklogic.com/xdmp/pki">
<certificate>
<name>@ml.ssl-certificate-template</name>
<countryName>@ml.ssl-certificate-countryName</countryName>
<stateOrProvinceName>@ml.ssl-certificate-stateOrProvinceName</stateOrProvinceName>
<localityName>@ml.ssl-certificate-localityName</localityName>
<organizationName>@ml.ssl-certificate-organizationName</organizationName>
<organizationalUnitName>@ml.ssl-certificate-organizationalUnitName</organizationalUnitName>
<emailAddress>@ml.ssl-certificate-emailAddress</emailAddress>
</certificate>
</certificates>
<roles xmlns="http://marklogic.com/xdmp/security">
<role>
<role-name>@ml.app-role</role-name>
Expand Down

0 comments on commit 264f813

Please sign in to comment.