]>
sourceware.org Git - systemtap.git/blob - stap-authorize-server-cert
3 # Add an existing server certificate to the
4 # database of trusted SSL servers for the client.
6 # Copyright (C) 2009 Red Hat Inc.
8 # This file is part of systemtap, and is free software. You can
9 # redistribute it and/or modify it under the terms of the GNU General
10 # Public License (GPL); either version 2, or (at your option) any
13 # Deprecation warning.
14 echo "WARNING: stap-authorize-server-cert is deprecated and will be removed in release 1.5" >&2
15 echo "Please use 'stap --trust-servers'. See stap(1) for more information" >&2
17 # Initialize the environment
18 .
${PKGLIBEXECDIR}stap-env
23 # Obtain the filename of the certificate
24 if test "X$certfile" = "X"; then
25 echo "Certificate file must be specified" >&2
29 # Obtain the certificate database directory name.
30 if test "X$certdb" = "X"; then
31 certdb
=$stap_ssl_db/client
34 ${stap_pkglibexecdir}stap-authorize-cert
$certfile $certdb
This page took 0.038006 seconds and 5 git commands to generate.