Commit Graph

18 Commits

Author SHA1 Message Date
Jesse Peterson
8a67b37557 Add anchor certificate to DEP profile template (#181)
* Add anchor certificate to DEP profile template

* Add -use-server-cert flag to generate certificate from server TLS certificate

* Update CHANGELOG

* Support adding certificate chains (rather than just individual certs) to DEP anchor certs

* Resolves #107
2017-05-29 19:43:43 -07:00
Victor Vrantchan
225153cdc5 helper to print mdmctl config (#187) 2017-05-29 22:43:20 -04:00
Victor Vrantchan
891b1a2870 use - for stdin (#190) 2017-05-29 22:43:08 -04:00
Victor Vrantchan
b96c506dce support writing file to stdout (#186) 2017-05-29 21:17:53 -04:00
Victor Vrantchan
5b18fa6a2f update generate blueprint command to print to stdout (#173)
For #162

* add applyAt
2017-05-28 12:56:24 -04:00
Victor Vrantchan
e0efa31d28 implement mdmctl dep commands (#161)
adds subcommands for endpoints implemented in #160
   mdmctl get dep-devices
   mdmctl get dep-account
   mdmctl get dep-profiles
   mdmctl apply dep-profiles
  
Closes #154
2017-05-27 23:22:32 -04:00
Jesse Peterson
284f368353 Blueprint profile integration (#163)
* Integrate Profiles into Blueprints
* Listen for events and deploy blueprints for new enrollments
* Track enrolled status of (re-)enrolling devices and re-issue the Check-In Event under a different topic
* Added references to #149 and #110 for direction/conceptual background
* Closes #149 (largely implemented here)
2017-05-21 22:12:42 -07:00
Jesse Peterson
670b4399db Profile service/store, API, and mdmctl management (#156)
* Profile service/store, API, and mdmctl management
* Group methods with their types
* Centralize error checking and remove profile ID specification on upload (unnecessary)
* Move more error checking into methods
2017-05-17 00:19:26 -07:00
Jesse Peterson
ce1cb87152 Past-due reorganization of some crypto helpers into the crypto package (#148) 2017-05-01 10:14:52 -07:00
Jesse Peterson
6d5fd5e97a Blueprints apply and list/get (#145) 2017-04-26 09:56:32 -07:00
Jesse Peterson
2d90d3b69b Allow self-signed certificates with configuration option in mdmctl (#147) 2017-04-26 09:36:34 -07:00
Jesse Peterson
ad22a7a932 Move dep-token sub-command to mdmctl (#141) 2017-04-19 09:13:27 -07:00
Victor Vrantchan
dc743df878 add support for per-device blueprints (#136)
blueprints are now saved in boltdb with mdmctl
blueprints work in a similar way to munki manifests:
The devices will use a site_default blueprint, otherwise will
look up one based on serial number.
Other blueprints can be nested
2017-04-09 17:43:44 -04:00
Jesse Peterson
3a3441d523 Make ~/.micromdm if it does not exist (#133)
* Mkdir on ~/.micromdm if not exist

* Use a more secure file mode as we're storing an API token here

* Use Dir()

* Use path/filepath
2017-03-28 20:29:54 -07:00
Victor Vrantchan
0b83c65939 add config set command (#130)
update the params of ~/.micromdm/default.json using the CLI
2017-03-27 23:50:06 -04:00
Victor Vrantchan
ab5b25dd63 rename list command to get (#129)
Introduce generic "mdmctl get" subcommand which allows getting
various resource types from the server.
2017-03-27 22:46:15 -04:00
Victor Vrantchan
7418de0991 ADD authentication to mdmctl and server (#127)
uses basic auth to set/read token
2017-03-27 18:50:38 -04:00
Victor Vrantchan
5c66bfdbcf add list devices api (#114) 2017-03-24 22:40:14 -04:00