Open Connect Server Configuration (Working for iOS)

Working for iOS only, but for OSX, (Cisco AnyConnect Client for OS X 3.1.05160), captive portal is detected.
‘Web Authentication Required’ and error log like

OpenConnect on Ubuntu
Generate Certificate with GnuTLS and Sign with OpenSSL

/opt/ocserv/etc/config

/opt/ocserv/etc/profile.xml

Open Connect Server Configuration (Working for iOS) by @sskaje: https://sskaje.me/2014/04/open-connect-server-configuration-working-ios/

Incoming search terms: