summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/http/ssl-cert-find
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-08-14 18:46:26 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-08-14 18:46:26 +0000
commitd6451b81703c809abcd0f51e74abdba7c732b513 (patch)
treefab2013702ae33a07e5bb43abad606e0201b485b /sca-cpp/trunk/modules/http/ssl-cert-find
parentd090bd129574458379aa9997345e7ca5b2c24886 (diff)
Some refactoring of the HTTP support, tunnel Memcached requests over HTTPS and add HTTPS config to store-cluster sample.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@985561 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rwxr-xr-xsca-cpp/trunk/modules/http/ssl-cert-find (renamed from sca-cpp/trunk/modules/http/ssl-ls)5
1 files changed, 3 insertions, 2 deletions
diff --git a/sca-cpp/trunk/modules/http/ssl-ls b/sca-cpp/trunk/modules/http/ssl-cert-find
index 71d40719ca..b5aefb8e38 100755
--- a/sca-cpp/trunk/modules/http/ssl-ls
+++ b/sca-cpp/trunk/modules/http/ssl-cert-find
@@ -17,9 +17,10 @@
# specific language governing permissions and limitations
# under the License.
-# Generate a test certification authority certificate
+# List certificate files, useful to distribute them to another host
here=`readlink -f $0`; here=`dirname $here`
root=`readlink -f $1`
-ls $root/conf/*.crt $root/conf/*.key $root/conf/*.pem $root/conf/*.p12 2>/dev/null
+cd $root
+find -regex '.*\.\(\(crt\)\|\(pem\)\|\(p12\)\|\(key\)\|\(0\)\)' 2>/dev/null