[freeradius-server 3.0.8] errors while compiling

ICHIBA Sara ichi.sara at gmail.com
Wed Jun 10 12:15:20 CEST 2015


Updates::

I deleted the /usr/loal/etc/raddb and did again make && make install. this
time everything was good.

and among the outputs of these commands I found:

INSTALL raddb/certs/Makefile
INSTALL raddb/certs/README
INSTALL raddb/certs/xpextensions
INSTALL raddb/certs/ca.cnf
INSTALL raddb/certs/server.cnf
INSTALL raddb/certs/client.cnf
BOOTSTRAP raddb/certs/
gmake[1] : on entre dans le répertoire « /usr/local/etc/raddb/certs »
gmake[1] : on quitte le répertoire « /usr/local/etc/raddb/certs »
gmake[1] : on entre dans le répertoire « /usr/local/etc/raddb/certs »
openssl dhparam -out dh 1024
Generating DH parameters, 1024 bit long safe prime, generator 2
This is going to take a long time
..............+......................................................................................................+..........................................................................................................+.............................................................+..............+..................................................+....................................................+......................................................+................+......................................................+....................................................................+.......+...................................................................+...............................................................................................................................................................................................................................................................................+..........................................................................+............................................................................+..+..............+..+.......................+...............................................................................+......+.........++*++*++*
openssl req -new  -out server.csr -keyout server.key -config ./server.cnf
Generating a 2048 bit RSA private key
....................+++
.+++
writing new private key to 'server.key'
-----
openssl req -new -x509 -keyout ca.key -out ca.pem \
        -days '60' -config ./ca.cnf
Generating a 2048 bit RSA private key
..................+++
............................................................................+++
writing new private key to 'ca.key'
-----
openssl ca -batch -keyfile ca.key -cert ca.pem -in server.csr  -key
'whatever' -out server.crt -extensions xpserver_ext -extfile xpextensions
-config ./server.cnf
Using configuration from ./server.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 1 (0x1)
        Validity
            Not Before: Jun 10 09:48:53 2015 GMT
            Not After : Aug  9 09:48:53 2015 GMT
        Subject:
            countryName               = FR
            stateOrProvinceName       = Radius
            organizationName          = Example Inc.
            commonName                = Example Server Certificate
            emailAddress              = admin at example.com
        X509v3 extensions:
            X509v3 Extended Key Usage:
                TLS Web Server Authentication
            X509v3 CRL Distribution Points:

                Full Name:
                  URI:http://www.example.com/example_ca.crl

Certificate is to be certified until Aug  9 09:48:53 2015 GMT (60 days)


2015-06-10 11:48 GMT+02:00 ICHIBA Sara <ichi.sara at gmail.com>:

> I persued the installation with the flag --with-openssl=no and at the end
> of my make &&  make install I got the error /usr/loal/etc/raddb already
> exist. weird isn't it.
>
>
> 2015-06-10 10:58 GMT+02:00 ICHIBA Sara <ichi.sara at gmail.com>:
>
>> yes it is installed
>>
>> 2015-06-10 10:55 GMT+02:00 <A.L.M.Buxey at lboro.ac.uk>:
>>
>>> Hi,
>>>
>>> >    For the openssl it was installed after a yum update (which I did
>>> before
>>> >    building FR and I'm afraid i didn't include it in my build path)
>>> how can I
>>> >    fix this?
>>>
>>> if using packages then the system does all this for you - you have
>>> openssl-devel
>>> installed?
>>>
>>> alan
>>>
>>
>>
>


More information about the Freeradius-Users mailing list