Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 585051 Details for
Bug 813072
include nssdbgen in rhui install
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to allow nss-db-gen to run w/o user interaction
nss-db-gen.patch (text/plain), 1.45 KB, created by
wes hayutin
on 2012-05-16 20:09:46 UTC
(
hide
)
Description:
patch to allow nss-db-gen to run w/o user interaction
Filename:
MIME Type:
Creator:
wes hayutin
Created:
2012-05-16 20:09:46 UTC
Size:
1.45 KB
patch
obsolete
>diff --git rhui-2.0/tools/bin/nss-db-gen rhui-2.0/tools/bin/nss-db-gen >index f2b75da..8904daa 100755 >--- rhui-2.0/tools/bin/nss-db-gen >+++ rhui-2.0/tools/bin/nss-db-gen >@@ -17,8 +17,8 @@ DIR="/tmp/tmp$RANDOM" > HOST=`hostname` > PWDFILE="password" > SEEDFILE="seed" >-INST_DIR='/tmp/rhua/qpid' >-DB_PASSWORD="" >+INST_DIR='/etc/rhui/qpid' >+DB_PASSWORD=$RANDOM > VALID="12" > > echo "" >@@ -27,26 +27,6 @@ echo "" > > # > # ========== SETUP ============ >-# >-# prompt user for install directory >-echo "" >-echo "Please specify a directory into which the created NSS database >-and associated certificates will be installed." >-echo "" >-read -p "Enter a directory [$INST_DIR]:" ans >-if [ "${#ans}" -gt 0 ] >-then >- INST_DIR=$ans >-fi >-echo $INST_DIR >- >-# prompt user for install directory >-while [ "${#DB_PASSWORD}" -eq 0 ]; do >- echo "" >- read -sp "Enter NSS database password:" DB_PASSWORD >-done >-echo "" >- > # create temporary db directory > rm -rf $DIR > mkdir $DIR >@@ -136,10 +116,10 @@ certutil -A -d client -n "client" -t ",," -a -i client.crt > echo "Client certificate created." > > # export client p12 bundle >-pk12util -d client -n "client" -o client.p12 >+pk12util -d client -n "client" -o client.p12 -w $PWDFILE -W $DB_PASSWORD -k $PWDFILE -K $DB_PASSWORD > > # using openssl, generate a key & cert using the p12. >-openssl pkcs12 -in client.p12 -nodes -out client.crt >+openssl pkcs12 -in client.p12 -nodes -out client.crt -password file:$PWDFILE > > echo "Client key & certificate exported" >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 813072
: 585051 |
585055
|
601308