Fix some pki/ to PKI/

This commit is contained in:
nemunaire 2015-01-16 22:58:56 +01:00 committed by Nemunaire
parent 2d377cb744
commit c7335fdadb
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ then
mysqldump -u backup --password="$BCKP_PASS" fic > "$TO_BCKP"/db/`date +%Y%m%d-%H%M`.sql mysqldump -u backup --password="$BCKP_PASS" fic > "$TO_BCKP"/db/`date +%Y%m%d-%H%M`.sql
rsync -avL shared "$TO_BCKP" rsync -avL shared "$TO_BCKP"
rsync -avL pki "$TO_BCKP" rsync -avL PKI "$TO_BCKP"
rsync -avL .git "$TO_BCKP" rsync -avL .git "$TO_BCKP"
rsync -avL logs "$TO_BCKP" rsync -avL logs "$TO_BCKP"
rsync -avL /var/log "$TO_BCKP" rsync -avL /var/log "$TO_BCKP"

View File

@ -23,7 +23,7 @@
<span class="glyphicon glyphicon-trash"></span></a> <span class="glyphicon glyphicon-trash"></span></a>
<a href="/{$SALT_ADMIN}/certificate/get?name={$t->team_name}"> <a href="/{$SALT_ADMIN}/certificate/get?name={$t->team_name}">
<span class="glyphicon glyphicon-floppy-save"></span></a> <span class="glyphicon glyphicon-floppy-save"></span></a>
{if not $t->revoked && is_file("{$MISC_DIR}/pki/pkcs/{$t->team_name}.p12")} {if not $t->revoked && is_file("{$MISC_DIR}/PKI/pkcs/{$t->team_name}.p12")}
<a href="/{$SALT_ADMIN}/certificate/revoke?name={$t->team_name}" <a href="/{$SALT_ADMIN}/certificate/revoke?name={$t->team_name}"
onclick="return confirm('Êtes-vous sûr de vouloir révoquer ce certificat ?')"> onclick="return confirm('Êtes-vous sûr de vouloir révoquer ce certificat ?')">
<span class="glyphicon glyphicon-remove"></span></a> <span class="glyphicon glyphicon-remove"></span></a>

View File

@ -39,7 +39,7 @@ default_ca = CA_default # The default ca section
#################################################################### ####################################################################
[ CA_default ] [ CA_default ]
dir = /var/www/fic-server/pki #DIR # Where everything is kept dir = /var/www/fic-server/PKI #DIR # Where everything is kept
certs = $dir/certs # Where the issued certs are kept certs = $dir/certs # Where the issued certs are kept
crl_dir = $dir/crl # Where the issued crl are kept crl_dir = $dir/crl # Where the issued crl are kept
database = $dir/index.txt # database index file. database = $dir/index.txt # database index file.