Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 9c172ab5874f1bb83345d54f0374c793 > files > 2

openca-web-interfaces-ldap-1.0.2-4mdv2010.0.i586.rpm

<openca>
    <access_control>
        <channel>
            <type>mod_ssl</type>
            <protocol>ssl</protocol>
            <source>.*</source>
            <asymmetric_cipher>.*</asymmetric_cipher>
            <asymmetric_keylength>0</asymmetric_keylength>
            <symmetric_cipher>.*</symmetric_cipher>
            <symmetric_keylength>128</symmetric_keylength>
        </channel>
        <login>
            <type>passwd</type>
            <!--
                x509-base login:

                <type>x509</type>
                <chain>/var/lib/openca/crypto/chain</chain>

                passwd login:

                <type>passwd</type>
                <database>internal</database>
                <passwd>
                    <user>
                        <name>root</name>
                        <algorithm>sha1</algorithm>
                        <digest>3Hbp8MAAbo+RngxRXGbbujmC94U</digest>
                        <role>CA Operator</role>
                    </user>
                    <user>...</user>
                    ...
                </passwd>

                no authentication:

                <type>none</type>
            -->
            <database>internal</database>
            <passwd>
                <!--
                    the initial user root has the passphrase root
                    you can use the script openca-digest to create the passphrases
                    if you want to add another user simply create a second user structure
                    <user>...</user>
                -->
                <user>
                    <name>@default_web_username@</name>
                    <algorithm>sha1</algorithm>
                    <digest>@default_web_password@</digest>
                    <role>CA Operator</role>
                </user>
            </passwd>
        </login>
        <acl_config>
            <acl>yes</acl>
            <list>/etc/openca/rbac/acl.xml</list>
            <command_dir>/etc/openca/rbac/cmds</command_dir>
            <module_id>@ldap_module_id@</module_id>
            <map_role>yes</map_role>
            <map_operation>yes</map_operation>
        </acl_config>
    </access_control>
    <token_config_file>/etc/openca/token.xml</token_config_file>
</openca>