SSL problem on replication!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Alex aka Magobin <magobin at gmail.com> wrote:
> As suggested, I checked if ssl worked....to test it I did a fresh
> install and I corrected the problem about node, now each node use its
> real address and name (I moved in future cluster configuration)...

Do a fresh install.  Shut the server down and tarball the /opt/fedora-ds directory, stash
somewhere safe.  It helped me a lot because whenever I would screw something up, I would just rm
-fr /opt/fedora-ds; tar xvf fedora.bkup.tar and I'd have a fresh good install ready to test again.
 That way you don't have to go thru the whole rpm -e, rpm -Uvh, setup business.

Then run this (make sure you have noise.txt and pwdfile.txt):

run it from /opt/fedora-ds/alias :

#!/bin/sh
../shared/bin/certutil -N -d . -f pwdfile.txt
../shared/bin/certutil -G -d . -z noise.txt -f pwdfile.txt
../shared/bin/certutil -S -n "CA certificate" -s "cn=CAcert" -x -t "CT,," -m 1000 -v 120 -d . -z
noise.txt -f pwdfile.txt
../shared/bin/certutil -S -n "Server-Cert" -s "cn=server-cert" -c "CA certificate" -t "u,u,u" -m
1001 -v 120 -d . -z noise.txt -f pwdfile.txt
echo moving key..

mv key3.db slapd-node1-key3.db
mv cert8.db slapd-node1-cert8.db
ln -s slapd-node1-key3.db key3.db
ln -s slapd-node1-cert8.db cert8.db
echo pk..
../shared/bin/pk12util -d . -P slapd-node1- -o servercert.pfx -n Server-Cert

(replace node1 with your hostname)

Then when you enable SSL, the certificate should appear in the window.  Choose your server cert
and then it'll all work.  I had to script the above because like you, it took me about 5 tries to
get it going correctly.

btw, I had to use different noise/password files for each server's cert.  Not sure why, perhaps
something else I was doing wrong...

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux