From 1735c1262f4dd364adafa89f59b91b48fb7956f1 Mon Sep 17 00:00:00 2001 From: el_kaboing <el_kaboing@localhost> Date: Mon, 26 Feb 2007 22:37:55 +0000 Subject: [PATCH] Ldif files to disable the trust manager in the ssl functional tests. --- opendj-sdk/opends/tests/functional-tests/shared/data/security/startTLS/setup/enable_key_mgr_provider.ldif | 3 - opendj-sdk/opends/tests/functional-tests/shared/data/security/jks/teardown/disable_trust_mgr_provider.ldif | 33 ++++++++++++++++ opendj-sdk/opends/tests/functional-tests/shared/data/security/pkcs12/teardown/disable_trust_mgr_provider.ldif | 33 ++++++++++++++++ 3 files changed, 66 insertions(+), 3 deletions(-) diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/security/jks/teardown/disable_trust_mgr_provider.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/security/jks/teardown/disable_trust_mgr_provider.ldif new file mode 100644 index 0000000..0500c7f --- /dev/null +++ b/opendj-sdk/opends/tests/functional-tests/shared/data/security/jks/teardown/disable_trust_mgr_provider.ldif @@ -0,0 +1,33 @@ +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE +# or https://OpenDS.dev.java.net/OpenDS.LICENSE. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, +# add the following below this CDDL HEADER, with the fields enclosed +# by brackets "[]" replaced with your own identifying * information: +# Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Portions Copyright 2006-2007 Sun Microsystems, Inc. +# + +dn: cn=JKS,cn=Trust Manager Providers,cn=config +changetype: modify +replace: ds-cfg-trust-manager-provider-class +ds-cfg-trust-manager-provider-class: org.opends.server.extensions.FileBasedTrustManagerProvider +- +replace: ds-cfg-trust-manager-provider-enabled +ds-cfg-trust-manager-provider-enabled: false + diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/security/pkcs12/teardown/disable_trust_mgr_provider.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/security/pkcs12/teardown/disable_trust_mgr_provider.ldif new file mode 100644 index 0000000..5df0fc0 --- /dev/null +++ b/opendj-sdk/opends/tests/functional-tests/shared/data/security/pkcs12/teardown/disable_trust_mgr_provider.ldif @@ -0,0 +1,33 @@ +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE +# or https://OpenDS.dev.java.net/OpenDS.LICENSE. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, +# add the following below this CDDL HEADER, with the fields enclosed +# by brackets "[]" replaced with your own identifying * information: +# Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Portions Copyright 2006-2007 Sun Microsystems, Inc. +# + +dn: cn=PKCS12,cn=Trust Manager Providers,cn=config +changetype: modify +replace: ds-cfg-trust-manager-provider-class +ds-cfg-trust-manager-provider-class: org.opends.server.extensions.FileBasedTrustManagerProvider +- +replace: ds-cfg-trust-manager-provider-enabled +ds-cfg-trust-manager-provider-enabled: false + diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/security/startTLS/setup/enable_key_mgr_provider.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/security/startTLS/setup/enable_key_mgr_provider.ldif index 68d79b6..0ad3e6b 100644 --- a/opendj-sdk/opends/tests/functional-tests/shared/data/security/startTLS/setup/enable_key_mgr_provider.ldif +++ b/opendj-sdk/opends/tests/functional-tests/shared/data/security/startTLS/setup/enable_key_mgr_provider.ldif @@ -30,6 +30,3 @@ - replace: ds-cfg-key-store-pin ds-cfg-key-store-pin: servercert -- -delete: ds-cfg-key-store-pin-file - -- Gitblit v1.10.0