Commit Graph

36723 Commits

Author SHA1 Message Date
jim-p
d86c28bc83 Add copy action to OpenVPN pages. Implements #5851
Added to Server, Client, and Client-Specific Override pages
2019-11-21 12:08:39 -05:00
jim-p
1d9fbb7165 Correct VTI IPv6 test and syntax. Fixes #9801 2019-11-20 11:47:06 -05:00
jim-p
94ce250e1b Move CA random serial option to upper section. Issue #9883
This allows it to be set when creating a new CA, so it doesn't have to
be edited in later.

Also show the next serial/random status in the CA info block
Hide trust store line from non-CA entries since it's not relevant to
certificates, only CAs.
2019-11-20 11:29:38 -05:00
jim-p
d1f5587d48 Rename IPsec "RSA" options to "Certificate". Implements #9903 2019-11-19 11:43:17 -05:00
jim-p
b8b0c2a320 Change interface disconnect/release button to 'danger'. Fixes #9911
While here, add the interface name to the button text.

Net effect is a confirmation box to ensure the user wants to take that
action, which could be disruptive.
2019-11-18 14:37:55 -05:00
Renato Botelho do Couto
6ecea21ad2 Fix #7791: strings binary can be useful for troubleshooting 2019-11-18 13:52:25 -03:00
jim-p
0d19213329 Test DNS Hostnames separtely from GWs when storing new values. Fixes #9898 2019-11-15 11:24:56 -05:00
jim-p
9dfd57c041 Attempt to fetch EC curve OID if name is blank. Issue #9745 2019-11-15 11:02:20 -05:00
jim-p
1120b85cb2 Certificate date calculation changes. Fixes #9899
Make the certificate date calculation more general and also try multiple ways
to determine the date (both timestamp and unix timestamp).

Catch cases where one or the other date fails to calculate to avoid errors.

While here, also account for the fact that DateTime::diff result is always
positive, when we need to know if it's negative.
2019-11-15 10:51:18 -05:00
jim-p
cffcf9bfaa GUI improvements for ECDSA certificate handling
* Make central functions to check and test ECDSA compatibility. Issue #9843
* Filter incompatible certificates from being offered for the GUI or Captive Portal. Implements #9897
* Do the same for IPsec, which implements #4991
* Add a check for key type when generating ipsec.secrets to allow ECDSA certs to work in IPsec for issue #4991

Note that as of this moment, the following curves are known to be compatible:
HTTPS (GUI, Captive Portal): prime256v1, secp384r1
IPsec: prime256v1, secp384r1, secp521r1

Results may vary in other areas which are not yet well-tested, and in packages.
2019-11-14 15:59:39 -05:00
jim-p
c3cda38e0a Change default ECSDA curve to prime256v1. Issue #9843
Previous default was brainpool, but brainpool curves are not (widely?)
supported by browsers and were deprecated by IETF for TLS v1.3
2019-11-14 08:43:45 -05:00
jim-p
4b4df56836 Revert "RADVD: In "managed" or "stateless_dhcp" mode, don't use default values for DNS servers etc (these should come from DHCPv6)"
This reverts commit dcc887a355.
2019-11-13 13:28:20 -05:00
Renato Botelho do Couto
555e75fede Zabbix 2.2 packages are gone 2019-11-13 10:30:33 -03:00
Steve Beaver
05025e63ed Show DNS server help when server list is empty 2019-11-12 09:17:42 -05:00
jim-p
b8b33a3e4e Use more accurate date calculations for CA/Cert operations.
Otherwise calculations could fail on ARM
2019-11-07 11:50:16 -05:00
jim-p
26c4679b6a Lower default cert expire days to 28.
At 30 days, an ACME cert may not have triggered automatic renewal yet,
so it would warn unnecessarily.
2019-11-07 11:49:22 -05:00
jim-p
9677335292 Add edit screen for Certificate entries.
* Allows editing the name/descr. Implements #7861
* Adds a (not stored) password field and buttons for exporting encrypted private
keys and PKCS#12 archives. Implements #1192
* More code optimization
2019-11-06 15:59:55 -05:00
jim-p
f0b38e39b4 CA/Cert optimizations
* Actions are now by refid rather than array index, which is more
accurate and not as prone to being affected by parallel changes.
* Improved save & config write messages
2019-11-06 13:16:32 -05:00
jim-p
ecb594d094 Use central download function
Reduce duplicated/inconsistent code by using the new download function.
2019-11-05 16:50:14 -05:00
jim-p
7e83055aa4 CA/Cert/CRL code optimizations
While here, use the new download function when exporting items
2019-11-05 16:06:05 -05:00
jim-p
1342f80fb5 Add central file download function for use throughout the GUI. 2019-11-05 16:04:44 -05:00
jim-p
a6bd9e78a5 Validate CA/CRL serial input. Issue #9883 Issue #9869 2019-11-05 11:31:47 -05:00
jim-p
d5a222ccf2 Update privilege definitions 2019-11-05 08:32:08 -05:00
jim-p
3a877e4ae6 Enforce a max lifetime for CA/Cert/CRL. Issue #3956 2019-11-04 14:30:54 -05:00
jim-p
2c9601c978 Add support for randomized cert serial numbers. Implements #9883 2019-11-04 14:02:29 -05:00
jim-p
a6487fc84d CRL Fixes
* Correct a PHP error in non-edit CRL actions. Fixes #9879
* Correct display of revoke by serial options when the CRL CA contains no certificates. Issue #9869
* Wording/text changes
2019-11-04 08:35:27 -05:00
jim-p
63fb68d713 CRL management overhaul
* Allow revoking by serial number or cert. Implements #9869
* Allow revoking multiple entries at a time. Implements #3258
* Declutter the main CRL list screen
* Move the create control to the bottom under the list
* Various other efficiency/style improvements
2019-11-01 16:14:46 -04:00
jim-p
8d4663c138 Also refresh trust store when renewing. Issue #4068 2019-10-31 16:34:32 -04:00
jim-p
7daab3d8dc Add option to trust local CA entries. Implements #4068
Similar to closed PR #3558 from overhacked, but with a number of
changes.
2019-10-31 16:28:52 -04:00
jim-p
e78fe74d83 Make value of cert notify setting consistent with others. Issue #7332 2019-10-31 16:04:21 -04:00
jim-p
d1b23f757e Remove duplicate DHCP log block. 2019-10-31 14:40:03 -04:00
jim-p
b86891b1d5 Allow packet capture to match IPv4+IPv6 CARP. Fixes #9867 2019-10-31 13:59:09 -04:00
jim-p
746c9afc0e CA validity checks. Fixes #3956 2019-10-31 13:30:12 -04:00
jim-p
46869dd2b5 Add clientAuth EKU to Server type certificates. Fixes #9868 2019-10-31 13:23:23 -04:00
jim-p
3f0b7bc3ae Certificate strength improvements. Fixes #9825
* Change default GUI cert lifetime to 825 days
* Add notes on CA/Cert pages about using potentially insecure parameter
chocies
* Add visible warnings on CA/Cert pages if paramers are insecure/not
recommended.
2019-10-31 13:10:08 -04:00
jim-p
e655d54849 Fix whitespace 2019-10-30 16:35:06 -04:00
jim-p
6729b78638 Update default config to match current default/version. 2019-10-30 14:21:23 -04:00
jim-p
b5d2d8d873 Add daily certificate expiration notice. Issue #7332 2019-10-30 14:11:11 -04:00
jim-p
4bbdd9b0e3 Add periodic framework to allow for daily/weekly/monthly tasks. Issue #7332 2019-10-30 14:09:59 -04:00
jim-p
ddcc83f206 Fix Cert expire threshold input validation to allow empty values. 2019-10-30 13:35:26 -04:00
jim-p
659a8a26d1 Set autocomplete=new-password for auth forms around the GUI. Implements #9864 2019-10-30 13:26:15 -04:00
jim-p
1ab01fee07 Cert expire threshold input validation 2019-10-30 11:13:55 -04:00
jim-p
b0790fc03c Add missing newline after Must Staple cert info. 2019-10-30 08:39:10 -04:00
jim-p
38e7b33689 Add settings to control certificate expiration notifications. Issue #7332
Note that the notices themselves do not yet exist. Those are still a
work in progress.
2019-10-29 16:56:05 -04:00
jim-p
93f1121f6e Add certificate lifetime to infoblock. Issue #7332
* Adds the total lifetime and lifetime remaining before expiration to
the info block
* Adds a visual indication to the infoblock and end date when the
certificate will be expiring soon, or if it has already expired.
2019-10-29 14:45:18 -04:00
jim-p
b619692266 Show detailed infoblock on CA and Cert pages. Implements #9856
* Moved info block to common function
* Used that function on CA and Cert pages
* Added more information to the info block
2019-10-28 16:46:51 -04:00
Steve Beaver
725c8134d3 Add packages to version string to support composite update 2019-10-28 11:23:20 -04:00
jim-p
83794361b7 Suppress errors from touch when marking GW down. Fixes #9851 2019-10-28 08:11:05 -04:00
jim-p
03a840816a Add GUI code and more backend for CA/Cert Renewal. Issue #9842 2019-10-25 16:38:41 -04:00
jim-p
dc56eafa63 Merge pull request #4104 from vktg/geneckey 2019-10-25 09:27:53 -04:00