Browse By

Category Archives: Chef

download (1)

Add custom signed certificates to Chef server 12

Pretty simple request and a simple answer. Under /etc/opscode is a probably empty file called chef-server.rb you can append the following values or run the below script (substituting your certificate and key names) if the file is empty.

If this is a fresh OS

download (1)

Backup and restore Chef server 12

Before moving a Chef server into production I needed to make sure that I’m able to perform a backup and restore. There is a great gem called knife-backup but from what I understand it isn’t able to copy user keys or the validator key so,