При открытии http всё норм, срабатывает переадресация, открывается страница портала. При открытии страницы https не открывается страница портала. IE пишет, что не верный сертификат. Можно продолжить открытие старницы, но ничего не открывается.
agent.log:
Код:
INFO 22.06.2009 15:54:48 starting agent....
DEBUG 22.06.2009 15:54:48 portal init..
DEBUG 22.06.2009 15:54:48 authHost = 192.168.0.5
DEBUG 22.06.2009 15:54:48 accountHost = 192.168.0.5
DEBUG 22.06.2009 15:54:48 authPort = 1812
DEBUG 22.06.2009 15:54:48 accountPort = 1813
DEBUG 22.06.2009 15:54:48 secret = [B@15d56d5
DEBUG 22.06.2009 15:54:48 nasId = den_nas
INFO 22.06.2009 15:54:48 script command: /usr/local/BGDialupWiFiAgent/init.sh
DEBUG 22.06.2009 15:54:48 Chain WIFI (1 references)
pkts bytes target prot opt in out source destination
Zeroing chain `WIFI'
DEBUG 22.06.2009 15:54:48 ips:
INFO 22.06.2009 15:54:48 catalinaHome=/usr/local/BGDialupWiFiAgent/portal
DEBUG 22.06.2009 15:54:49 portal init..
DEBUG 22.06.2009 15:54:49 authHost = 192.168.0.5
DEBUG 22.06.2009 15:54:49 accountHost = 192.168.0.5
DEBUG 22.06.2009 15:54:49 authPort = 1812
DEBUG 22.06.2009 15:54:49 accountPort = 1813
DEBUG 22.06.2009 15:54:49 secret = [B@15d56d5
DEBUG 22.06.2009 15:54:49 nasId = den_nas
INFO 22.06.2009 15:54:49 HTTP port: 9090
INFO 22.06.2009 15:54:49 Starting HTTP connector..
INFO 22.06.2009 15:54:49 HTTPS port: 9091
INFO 22.06.2009 15:54:49 Starting HTTPS connector..
INFO 22.06.2009 15:54:53 Starting listen admin port 5556
DEBUG 22.06.2009 15:54:58 Chain WIFI (1 references)
pkts bytes target prot opt in out source destination
Zeroing chain `WIFI'
DEBUG 22.06.2009 15:54:58 ips:
DEBUG 22.06.2009 15:55:08 Chain WIFI (1 references)
pkts bytes target prot opt in out source destination
Zeroing chain `WIFI'
agent.out:
Код:
Jun 22, 2009 3:54:49 PM org.apache.catalina.startup.Embedded start
INFO: Starting tomcat server
Jun 22, 2009 3:54:49 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Jun 22, 2009 3:54:51 PM org.apache.catalina.startup.ContextConfig defaultWebConfig
INFO: No default web.xml
Jun 22, 2009 3:54:51 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-9090
Jun 22, 2009 3:54:51 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-9090
Jun 22, 2009 3:54:52 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-9091
Jun 22, 2009 3:54:52 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-9091
log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
log4j:WARN Please initialize the log4j system properly.
Это сообщение появляется log4j:WARN No appenders could be found for logger при попытке зайти на https.
portal.log пустой
Конфиг:
Код:
#radius options
radius.auth.host=192.168.0.5
radius.auth.port=1812
radius.account.host=192.168.0.5
radius.account.port=1813
radius.nasId=den_nas
radius.secret=WiFiAgent
#billing server options
billing.server.login=admin
billing.server.passwd=admin
billing.server.http.url=http://192.168.0.5:8080/bgbilling
billing.server.https.url=https://192.168.0.5:8443/bgbilling
billing.server.dialup.mid=1
billing.server.show.statistics=0
billing.server.password.remind=0
#portal options
portal.http.port=9090
portal.https.port=9091
portal.https.keystore.password=bgbilling
#portal.card.link=http://127.0.0.1:8080/bgbilling/pubexecuter?action=CreateContract&module=card&mid=5&activateType=1
#tarif options
#portal.use.realm=1
#portal.tarif.1.realm=wifi_128_128
#portal.tarif.1.title=128 kb/s
#portal.tarif.2.realm=wifi_256_128
#portal.tarif.2.title=256 kb/s
portal.http.url=http://localhost:9090
portal.https.url=https://localhost:9091
#wifi agent options
wifi.agent.port=5555
wifi.agent.port.admin=5556
wifi.agent.radius.live.time=60000
wifi.agent.client.live.time=24000000
wifi.agent.iptables.command=/sbin/iptables
wifi.agent.iptables.chain=WIFI
wifi.agent.arp.command=/sbin/arp
#wifi.agent.server.https=1
#radius attributes
wifi.agent.radius.atrubute.1.vendor.code=1111
wifi.agent.radius.atrubute.1.attr.code=1
wifi.agent.radius.atrubute.1.type=integer
wifi.agent.radius.atrubute.2.vendor.code=1111
wifi.agent.radius.atrubute.2.attr.code=2
wifi.agent.radius.atrubute.2.type=integer
#dhcp options
#dhcp=1
#dhcp.server.host=192.168.0.5
#dhcp.server.port=6663
#dhcp.agent.host=192.166.0.40
#dhcp.minThreadCount=10
#dhcp.maxThreadCount=10
#dhcp.arp.command=/sbin/arp
Ключ я формировал по инструкции 12. Настройка SSL между сервером и клиентом.