Commit Graph

127 Commits

Author SHA1 Message Date
Lauri Võsandi ad1f9c2338 Several updates #5
* Better 'systemctl stop certidude' signal handling
* Add 502.json for better bad gateway error handling
* Generate UUID for .sswan and .mobileconfig files from service name
* More detailed token list view in admin interface
* Improved testcases
2018-05-17 09:00:13 +00:00
Lauri Võsandi adff4a0a50 Add log message for failing lease update 2018-05-16 11:51:07 +00:00
Lauri Võsandi ce93fbb58b Several updates #4
* Improved offline install docs
* Migrated token mechanism backend to SQL
* Preliminary token mechanism frontend integration
* Add clock skew tolerance for OCSP
* Add 'ldap computer filter' support for Kerberized machine enroll
* Include OCSP and CRL URL-s in certificates, controlled by profile.conf
* Better certificate extension handling
* Place DH parameters file in /etc/ssl/dhparam.pem
* Always talk to CA over port 8443 for 'certidude enroll'
* Hardened frontend nginx config
* Separate log files for frontend nginx
* Better provisioning heuristics
* Add sample site.sh config for LEDE image builder
* Add more device profiles for LEDE image builder
* Various bugfixes and improvements
2018-05-15 07:45:29 +00:00
Lauri Võsandi bfdd8c4887 Several updates #3
* Move SessionResource and CertificateAuthorityResource to api/session.py
* Log browser user agent for logins
* Remove static sink from backend, nginx always serves static now
* Don't emit 'attribute-update' event if no attributes were changed
* Better CN extraction from DN during lease update
* Log user who deleted request
* Remove long polling CRL fetch API call and relevant test
* Merge auth decorators ldap_authenticate, kerberos_authenticate, pam_authenticate
* Add 'kerberos subnets' to distinguish authentication method
* Add 'admin subnets' to filter traffic to administrative API calls
* Highlight recent log events
* Links to switch between 2, 3 and 4 column layouts in the dashboard
* Restored certidude client snippets in request dialog
* Various bugfixes, improved log messages
2018-05-04 08:55:49 +00:00
Lauri Võsandi 4e4b551cc2 Several updates #2
* Reverse RDN components for all certs
* Less side effects in unittests
* Split help dialog shell snippets into separate files
* Restore 'admin subnets' config option
* Embedded subnets, IKE and ESP proposals now configurable in builder.conf
* Use expr instead of bc for math operations in shell
* Better frontend support for Let's Encrypt certificates
2018-05-02 08:11:01 +00:00
Lauri Võsandi 5e9251f365 Several updates
* Subnets configuration option for Kerberos machine enrollment
* Configurable script snippets via [service] configuration section
* Preliminary revocation reason support
* Improved signature profile support
* Add domain components to DN to distinguish certificate CN's namespace
* Image builder improvements, add Elliptic Curve support
* Added GetCACaps operation and more digest algorithms for SCEP
* Generate certificate and CRL serial from timestamp (64+32bits) and random bytes (56bits)
* Move client storage pool to /etc/certidude/authority/
* Cleanups & bugfixes
2018-04-27 07:48:15 +00:00
Lauri Võsandi 94e5f72566 Migrate signature profiles to separate config file 2018-04-16 12:13:54 +00:00
Lauri Võsandi b9aaec7fa6 Migrate renewal to mutually authenticated TLS connection 2018-04-15 19:27:47 +00:00
Lauri Võsandi 1493c0f4a0 api: Check keypair algorithm compatbility during request submission 2018-04-13 13:11:48 +00:00
Lauri Võsandi 501493ff12 ui: Improved snippets, toggle visibility for OCSP and CRL snippets 2018-04-13 09:53:51 +00:00
Lauri Võsandi a0e263385b Fix certificate serial numbering 2018-04-13 07:57:49 +00:00
Lauri Võsandi ffd1281b83 ocsp: Add EC support 2018-04-13 07:56:05 +00:00
Lauri Võsandi 577962e09b Several improvements
* Add EC support
* Make token form toggleable
* Make client certificates compatible with iOS native IKEv2
* Fix OU for self-enroll
* Improved sample scripts in web UI
2018-04-09 16:25:03 +03:00
Lauri Võsandi 1c49626f50 Sevral bugfixes 2018-03-03 13:54:31 +00:00
Priit Laes 7b6175ab37 api.utils.firewall: Drop click usage and remove unneeded imports 2018-02-03 14:43:43 +02:00
Priit Laes 2f0569abb4 Move certidude.firewall to api.utils.firewall where it belongs 2018-02-03 14:43:43 +02:00
Priit Laes 2eb93e6698 api: scep: Drop unused imports 2018-02-03 14:05:02 +02:00
Priit Laes 5439d5560a api: request: Drop unused imports 2018-02-03 14:05:02 +02:00
Priit Laes 167d0cbdfd api: ocsp: Drop unused imports 2018-02-03 14:05:02 +02:00
Priit Laes 8626d78b5c api: ocsp: Fix logger 2018-02-03 14:05:02 +02:00
Priit Laes f6c0e1ae85 api: __init__: Drop unused imports and fix broken import 2018-02-03 14:05:02 +02:00
Priit Laes d476998c9e api: log: Drop unused imports 2018-02-03 14:05:02 +02:00
Priit Laes 912f5766e4 api: lease: Drop unused imports 2018-02-03 14:05:02 +02:00
Priit Laes 1c6043c6c9 api: script: Drop unused imports 2018-02-03 14:05:02 +02:00
Priit Laes a15bdd51db api: revoked: Drop unused imports 2018-02-03 14:05:02 +02:00
Priit Laes bfcd8ef95b api: tag: Drop unused imports 2018-02-03 14:05:02 +02:00
Priit Laes f90a19deeb api: token: Drop unused imports 2018-02-03 14:05:02 +02:00
Priit Laes 82b8185bc5 api: bootstrap: Drop unused imports 2018-02-03 14:05:02 +02:00
Priit Laes b82a38edee api: attrib: Drop unused imports 2018-02-03 14:05:02 +02:00
Priit Laes c9dd058d75 api: Use common AuthorityResource where possible 2018-02-03 14:05:02 +02:00
Priit Laes 4580663608 api: Create common AuthorityHandler class with authority attribute 2018-02-03 14:02:23 +02:00
Priit Laes f7d138e303 api: token: drop usage of global authority import 2018-02-03 14:02:23 +02:00
Priit Laes 7d514a3bc6 api: tag: drop usage of global authority import 2018-02-03 14:02:23 +02:00
Priit Laes 4e50ddfc54 api: signed: drop usage of global authority import 2018-02-03 14:02:23 +02:00
Priit Laes 29f3e1fce9 api: script: drop usage of global authority import 2018-02-03 14:02:23 +02:00
Priit Laes 1cfb1b3293 api: scep: drop usage of global authority import 2018-02-03 14:02:23 +02:00
Priit Laes 239538371f api: revoked: drop usage of global authority import 2018-02-03 14:02:23 +02:00
Priit Laes 916afba685 api: request: drop usage of global authority import 2018-02-03 14:02:23 +02:00
Priit Laes 7f2729e6f4 api: ocsp: drop usage of global authority import 2018-02-03 14:02:23 +02:00
Priit Laes be454d7a65 api: lease: drop usage of global authority import 2018-02-03 14:02:23 +02:00
Priit Laes 937c81bd5f api: bootstrap: drop usage of global authority import 2018-02-03 14:02:23 +02:00
Priit Laes 863deafa59 api: attrib: drop usage of global authority import 2018-02-03 12:37:06 +02:00
Lauri Võsandi 5cb7f89c1b Bugfixes, OU support and image builder fixes 2018-01-26 14:03:13 +02:00
Lauri Võsandi 098aa5657d tests: More explicit errors for OCSP and SCEP 2018-01-05 12:42:14 +00:00
Lauri Võsandi fba8f5d776 Integrate LEDE image builder 2018-01-03 22:17:35 +00:00
Lauri Võsandi 345c2802ea api: Fix request submission form 2018-01-03 22:17:35 +00:00
Lauri Võsandi e594371ee3 api: Update last seen status for VPN gateway during client update 2018-01-03 22:17:35 +00:00
Lauri Võsandi 59bedc1f16 Major refactor
* Migrate to Python 3
* Update token generator mechanism
* Switch to Bootstrap 4
* Switch from Iconmonstr to Font Awesome icons
* Rename default CA common name to "Certidude at ca.example.lan"
* Add self-enroll for the TLS server certificates
* TLS client auth for lease updating
* Compile assets from npm packages to /var/lib/certidude/ca.example.lan/assets
2017-12-30 14:00:19 +00:00
Lauri Võsandi 509f7bfaa8 Migrate from cryptography.io to oscrypto 2017-08-16 20:25:16 +00:00
Lauri Võsandi 789d80d712 api: Save enrollment IP address 2017-08-10 00:45:43 +03:00