Install Func2011/05/14 |
Install Func (Fedora Unified Network Controller).
This example shows to configure on the environment like follows
(1) certmaster.srv.world [10.0.0.50] Certmaster ( Server ) (2) minion01.srv.world [10.0.0.51] Minion ( Client ) |
|
[1] | Install func to both Certmaster and Minion. |
[root@certmaster ~]# yum --enablerepo=epel -y install func # install from EPEL
|
[2] | Start certmaster on Certmaster Server. |
[root@certmaster ~]# /etc/rc.d/init.d/certmaster start Starting certmaster daemon: [ OK ] [root@certmaster ~]# chkconfig certmaster on
|
[3] | Start funcd on Minion Server. |
[root@minion01 ~]#
vi /etc/certmaster/minion.conf
# configuration for minions
[main]
[root@minion01 ~]# certmaster = certmaster.srv.world # Certmaster's hostname or IP Address certmaster_port = 51235 log_level = DEBUG cert_dir = /etc/pki/certmaster /etc/rc.d/init.d/funcd start Starting func daemon: [ OK ] [root@minion01 ~]# chkconfig funcd on
|
[4] | Sign to certificates on Certmaster Server. |
[root@certmaster ~]# certmaster-ca --list minion01 # the host that requests certificates [root@certmaster ~]# certmaster-ca --sign minion01 /var/lib/certmaster/certmaster/csrs/minion01.csr signed - cert located at /var/lib/certmaster/certmaster/certs/minion01.cert [root@certmaster ~]# func "*" list_minions # make sure it works minion01 |
Sponsored Link |
|