Deploy Self-signed RootCA to client computers

2 computers required : ServerMac ClientMac On ServerMac : Create a Certificate Authority and export the Root Certificate (If you already have a self-signed RootCA that you want to deploy, then you can skip this part) Open Keychain Access. Select the System keychain. From the Keychain Access menu, navigate to Certificate Assistant and select Create a Certificate Authority. For the name, enter “MyCompany Root CA”. Select SSL Server from the User Certificate pop-up menu....

September 28, 2017 · Pavan Raju

Creating PAYLOAD-FREE Package

Creating PAYLOAD-FREE Package Here’s how we make a “true” payload-free package (that does not leave a receipt): pkgbuild --nopayload --scripts /path/to/scripts_dir --identifier org.example.payloadfree --version 1.0 MyGreatPayloadFree.pkg But payload-free packages built this way have a “feature” that can sometimes prove problematic. Flat packages built with pkgbuild using the --nopayload option do not leave receipts in the pkgutil database. This means it can be difficult to determine if a given payload-free package has already been installed on a given machine....

September 18, 2017 · Pavan Raju

Decoding the Caching server

1. Server and Clients – Behind Same Public IP (same or different subnet) First, the server registers with Apple, it provides it Public IP and the Private IP. Apple notes both the information. Second, When the client requests Apple for any download, since Apple knows that there is a caching server associated with that Public IP, it redirects the client. Third, the client can be on same subnet or different subnet....

June 13, 2017 · Pavan Raju

Convert .app to .pkg (Packaging)

1. Productbuild + ARD demo suggestion: Create a distribution package of a small app (man productbuild) and distribute the package to each attendee’s Mac using ARD. Example for Firefox : productbuild --component /Applications/Firefox.app/ /Applications/ ~/Desktop/Firefox.pkg 2. pkgbuild General example : sudo pkgbuild --install-location /Applications --component /path/to/app/for/MyGreatApp.app ./path/to/save/package/packagename.pkg Example for Firefox : sudo pkgbuild --install-location /Applications --component /Applications/Firefox.app ~/Desktop/Firefox_v300.pkg Reference articles : http://thegreyblog.blogspot.in/2014/06/os-x-creating-packages-from-command_2.html{:target="_blank"} https://www.jamf.com/jamf-nation/discussions/14843/app-installations{:target="_blank"} https://www.youtube.com/watch?v=oKxjxi9Eny8{:target="_blank"}

June 6, 2017 · Pavan Raju

Uninstall macOS Server

June 6, 2017 · Pavan Raju