rlm_rest

Synopsis

Processing Sections

Any.

Expansions

None.

Directives

tls

Synopsis

This subsection configures the tls related items that control how FreeRADIUS connects to an HTTPS server.

cacertdir
Syntax

cacertdir = string

Default

${certdir}

Description

FIXME

cacertfile
Syntax

cacertfile = string

Default

${certdir}/cacert.pem

Description

FIXME

certfile
Syntax

certfile = string

Default

/path/to/radius.crt

Description

FIXME

keyfile
Syntax

keyfile = string

Default

/path/to/radius.key

Description

FIXME

keypassword
Syntax

keypassword = string

Default

supersecret

Description

FIXME

randfile
Syntax

randfile = string

Default

${certdir}/random

Description

FIXME

verify_cert
Syntax

verify_cert = boolean

Default

yes

Description

Server certificate verification requirements. Can be: no don’t even bother trying yes verify the cert was issued by one of the trusted CAs

verify_cert_cn
Syntax

verify_cert_cn = boolean

Default

yes

Description

Server certificate CN verification requirements. Can be: no don’t even bother trying yes verify the CN in the certificate matches the host in the URI

authorize

Synopsis

rlm_rest opens a connection to the server specified in connect_uri, in order to populate the connection cache and to be ready for the first request. The server will not start if the server specified is unreachable.

If you wish to disable this pre-caching and reachability check, comment out the configuration directive below: connect_uri = "http://127.0.0.1/"

Directives

method
Syntax

method = string

Default

get

Description

FIXME

tls
Syntax

tls = string

Default

${..tls}

Description

FIXME

uri
Syntax

uri = string

Default

${..connect_uri}/user/%{User-Name}/mac/%{Called-Station-ID}?section=authenticate

Description

FIXME

authenticate

Synopsis

FIXME

Directives

method
Syntax

method = string

Default

get

Description

FIXME

tls
Syntax

tls = string

Default

${..tls}

Description

FIXME

uri
Syntax

uri = string

Default

${..connect_uri}/user/%{User-Name}/mac/%{Called-Station-ID}?section=authenticate

Description

FIXME

accounting

Synopsis

FIXME

Directives

method
Syntax

method = string

Default

post

Description

FIXME

tls
Syntax

tls = string

Default

${..tls}

Description

FIXME

uri
Syntax

uri = string

Default

${..connect_uri}/user/%{User-Name}/mac/%{Called-Station-ID}?section=accounting

Description

FIXME

session

Synopsis

FIXME

Directives

method
Syntax

method = string

Default

post

Description

FIXME

tls
Syntax

tls = string

Default

${..tls}

Description

FIXME

uri
Syntax

uri = string

Default

${..connect_uri}/user/%{User-Name}/mac/%{Called-Station-ID}?section=checksimul

Description

FIXME

post-auth

Synopsis

FIXME

Directives

method
Syntax

method = string

Default

post

Description

FIXME

tls
Syntax

tls = string

Default

${..tls}

Description

FIXME

uri
Syntax

uri = string

Default

${..connect_uri}/user/%{User-Name}/mac/%{Called-Station-ID}?section=post-auth

Description

FIXME

pool
Syntax

pool { …​ }

Description

A sub-section that manages connections to the database. See the pool documentation for more information.