This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
wiki:wiki3:faq_general_top30:home [2021/05/26 16:14] ehe [How to send a MAC command?] |
wiki:wiki3:faq_general_top30:home [2023/01/30 11:40] (current) ehe [Check for the OpenVPN certificate validity] |
||
|---|---|---|---|
| Line 314: | Line 314: | ||
| For firmware version 4.3.3 and above, activate the CPF on european TTN server with the command: \\ | For firmware version 4.3.3 and above, activate the CPF on european TTN server with the command: \\ | ||
| <code> | <code> | ||
| - | klk_apps_config --activate-cpf --lns-server router.eu.thethings.network --lns-dport 1700 --lns-uport 1700 | + | klk_apps_config --activate-cpf --lns-server eu1.cloud.thethings.network --lns-dport 1700 --lns-uport 1700 |
| </code> | </code> | ||
| [[https://wikikerlink.fr/wirnet-productline/doku.php?id=wiki:keros_custo:keros_applications_configuration#examples | Keros application configuration examples]] | [[https://wikikerlink.fr/wirnet-productline/doku.php?id=wiki:keros_custo:keros_applications_configuration#examples | Keros application configuration examples]] | ||
| Line 635: | Line 635: | ||
| ==== Check for the OpenVPN certificate validity ==== | ==== Check for the OpenVPN certificate validity ==== | ||
| - | if your gateway is a Wirnet Station, perform the command: | + | To check OpenVPN certificate validity, you can use following commands depending of your product & firmware version: |
| + | |||
| + | **Firmware 4x:** | ||
| <code> | <code> | ||
| - | openssl pkcs12 -passin pass:"" -in /etc/openvpn /client-openvpn.p12 -nokeys | openssl x509 -noout -enddate'' | + | grep -iA3 "Validity" /.update/update.log | tail -3 |grep -i "not after"| sed 's/^[ \t]*//' |
| </code> | </code> | ||
| - | If your gateway is a i-series gateway (Istation, iFemto, iBTS), ask to the Support team the validity date of the certificate (please, give the serial number of your gateway). | + | |
| + | **Firmware 5x:** | ||
| + | <code> | ||
| + | openssl pkcs12 -info -in /etc/openvpn/bscc.p12 -nokeys -password file:/etc/openvpn/bscc.password| openssl x509 -noout -enddate | ||
| + | </code> | ||
| + | |||
| + | **Firmware 3x (Wirnet Station & iSeries):** | ||
| + | <code> | ||
| + | openssl pkcs12 -info -in /etc/openvpn/client-openvpn.p12 -nokeys -password pass: | openssl x509 -noout -enddate | ||
| + | </code> | ||
| ==== Check for OpenVPN certificate install issue ==== | ==== Check for OpenVPN certificate install issue ==== | ||