Correct sequence of messages

1. Start ServerApi

2. Create connection

3. Verify certificate chain

4. Authentication

5. Now you can create computers, policies, groups, tasks etc.

6. Close connection

7. Stop ServerApi

 

See the example sequence.