Following the instructions in the chapter, I am getting an error when trying to load the key from the keychain. The certificateArray function outputs error 25300 (item not found).
I then went back and exported the key directly from the keychain and used that file for the CocoaServer project. The error persists.
I am not sure what is going wrong. I will try doing an online tutorials or two and see if that brings any answers. (Can anyone recommend any good ones?)
I’ve found the book excellent until the last couple chapters. 28 and 29 have been fairly frustrating, with the sample code not showing consistently where new code was added or needed to be changed, and some changes made but not explained. I eventually just used the solution code downloaded from your site, which makes the printing the code in the chapter less useful.