Change fic2014 to fic
This commit is contained in:
parent
4a67552a29
commit
cfc7c2ba0b
11 changed files with 47 additions and 47 deletions
|
|
@ -62,7 +62,7 @@ case $1 in
|
|||
ESCAPED=$(echo "${TOP_DIR}" | sed 's/[\/\.]/\\&/g')
|
||||
|
||||
echo -e "${GREEN}Making CA key and csr${COLOR_RST}"
|
||||
sed -i 's/=.*#COMMONNAME/= FIC2014 CA #COMMONNAME/' $OPENSSL_CONF
|
||||
sed -i 's/=.*#COMMONNAME/= FIC CA #COMMONNAME/' $OPENSSL_CONF
|
||||
sed -i "s/=.*#DIR/= ${ESCAPED} #DIR/" $OPENSSL_CONF
|
||||
|
||||
type pwgen > /dev/null
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ oid_section = new_oids
|
|||
# To use this configuration file with the "-extfile" option of the
|
||||
# "openssl x509" utility, name here the section containing the
|
||||
# X.509v3 extensions to use:
|
||||
# extensions =
|
||||
# extensions =
|
||||
# (Alternatively, use a configuration file that has only
|
||||
# X.509v3 extensions in its main [= default] section.)
|
||||
|
||||
|
|
@ -39,7 +39,7 @@ default_ca = CA_default # The default ca section
|
|||
####################################################################
|
||||
[ CA_default ]
|
||||
|
||||
dir = /var/www/fic2014-server/misc//pki #DIR # Where everything is kept
|
||||
dir = /var/www/fic-server/misc//pki #DIR # Where everything is kept
|
||||
certs = $dir/certs # Where the issued certs are kept
|
||||
crl_dir = $dir/crl # Where the issued crl are kept
|
||||
database = $dir/index.txt # database index file.
|
||||
|
|
@ -111,7 +111,7 @@ x509_extensions = v3_ca # The extentions to add to the self signed cert
|
|||
# input_password = secret
|
||||
# output_password = secret
|
||||
|
||||
# This sets a mask for permitted string types. There are several options.
|
||||
# This sets a mask for permitted string types. There are several options.
|
||||
# default: PrintableString, T61String, BMPString.
|
||||
# pkix : PrintableString, BMPString (PKIX recommendation before 2004)
|
||||
# utf8only: only UTF8Strings (PKIX recommendation after 2004).
|
||||
|
|
@ -162,7 +162,7 @@ challengePassword_max = 20
|
|||
unstructuredName = An optional company name
|
||||
|
||||
[CORE_CA]
|
||||
nsComment = "FIC2014 CA"
|
||||
nsComment = "FIC CA"
|
||||
basicConstraints = critical,CA:TRUE,pathlen:1
|
||||
subjectKeyIdentifier = hash
|
||||
authorityKeyIdentifier = keyid,issuer:always
|
||||
|
|
@ -173,7 +173,7 @@ subjectKeyIdentifier=hash
|
|||
authorityKeyIdentifier=keyid:always,issuer
|
||||
|
||||
[SERVER_SSL]
|
||||
nsComment = "FIC2014 Server"
|
||||
nsComment = "FIC Server"
|
||||
subjectKeyIdentifier = hash
|
||||
authorityKeyIdentifier = keyid,issuer:always
|
||||
issuerAltName = issuer:copy
|
||||
|
|
@ -185,7 +185,7 @@ subjectKeyIdentifier=hash
|
|||
authorityKeyIdentifier=keyid:always,issuer
|
||||
|
||||
[CLIENT_SSL]
|
||||
nsComment = "FIC2014 Client"
|
||||
nsComment = "FIC Client"
|
||||
subjectKeyIdentifier = hash
|
||||
authorityKeyIdentifier = keyid,issuer:always
|
||||
issuerAltName = issuer:copy
|
||||
|
|
|
|||
Reference in a new issue