Update:
I added a system line to my handler.yml and now the service starts, but
when I try and load the webpage I get:
Unknown application error

Nothing telling  in the logs:

2021/09/29 10:03:25 openxpki.audit.system.INFO
<http://openxpki.audit.system.info/> server was started [pid=2479|]
2021/09/29 10:13:46 openxpki.application.INFO
<http://openxpki.application.info/> Purged 2 expired sessions
[pid=2481|sid=uHjs]
2021/09/29 10:18:49 openxpki.application.INFO
<http://openxpki.application.info/> Purged 4 expired sessions
[pid=2481|sid=uHjs]
2021/09/29 10:23:52 openxpki.application.INFO
<http://openxpki.application.info/> Purged 6 expired sessions
[pid=2481|sid=uHjs]
2021/09/29 10:28:55 openxpki.application.INFO
<http://openxpki.application.info/> Purged 6 expired sessions
[pid=2481|sid=uHjs]


On Wed, Sep 29, 2021 at 9:51 AM, Nick Dawson <[email protected]>
wrote:

> Hey everyone,
> I upgraded a FreeBSD box to 13.0 and OpenXPKI 3.1.4 and now I'm getting a
> strange error.
> The system fails to start because of an error with the handler to System,
> but I don't even have System in my handler.yalm
>
> Error:
>
> 2021/09/29 09:47:52 openxpki.system.ERROR No type given for authentication
> handler System [pid=63402|]
> 2021/09/29 09:47:52 openxpki.system.FATAL Exception during initialization
> task 'authentication': No type given for authentication handler System
> [pid=63402|]
> 2021/09/29 09:47:52 openxpki.system.FATAL Exception during server
> initialization: No type given for authentication handler System (No type
> given for authentication handler System) [pid=63402|]
>
> Handler:
>
> ╰─○ cat /ucat
> /usr/local/etc/openxpki/config.d/realm/dzsec/auth/handler.yaml
> dzop:
>     type: Password
>     label: Operator Password
>     description: I18N_OPENXPKI_CONFIG_AUTH_HANDLER_DESCRIPTION_PASSWORD
>     # The passwords can be generated with "openxpkiadm hashpwd"
>     role: RA Operator
>     user:
>         dzsecop: "{ssha}MaUPTo+MBwL9kn8C1NJoqUxt0VpnT1ZV"
>     realm: dzsec
>
>
> dzlogin:
>    type: Connector
>    label: AD Login DZ Sec
>    description: I18N_OPENXPKI_CONFIG_AUTH_HANDLER_DESCRIPTION_PASSWORD
>    role: User
>    source@: connector:auth.connector.dz-ad
>    realm: dzsec
>
> dzadmin:
>    type: Connector
>    label: AD Login DZ Sec Admins
>    description: I18N_OPENXPKI_CONFIG_AUTH_HANDLER_DESCRIPTION_PASSWORD
>    role: CA Operator
>    source@: connector:auth.connector.dz-admin
>    realm: dzsec
>
> dzra:
>    type: Connector
>    label: AD Login DZ Sec Admins
>    description: I18N_OPENXPKI_CONFIG_AUTH_HANDLER_DESCRIPTION_PASSWORD
>    role: RA Operator
>    source@: connector:auth.connector.dzra
>    realm: dzsec
>
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to