Amazon interview question

how do u design PKI system?