Skip to content

Instantly share code, notes, and snippets.

  1. get certificates from certificate store
  2. create ca bundle
    • Combin your certificate and CA together. Chain them start from the leaf note up to the root node (CA).
    • Open your notepad.
    • Copy text from your .crt file and then paste in open note
    • Copy text from CA and then paste in open note next to the .crt text
    • Copy text from Root CA and then paste in open note next to ca text
  3. Upload 3 files: .crt, .private_key, .ca-bundle (You should get .private_key when your generate CSR to get the cerficate from the store. Probably in your email)
  4. Update ssl.config in /etc/httpd/conf.d
  • Change path of SSLCertificateFile point to .crt file, SSLCertificateKeyFile point to .private_key file, SSLCACertificateFile point to .ca-bundle file
@ppetpadriew
ppetpadriew / angular_tutorial_note.md
Last active September 17, 2018 10:59
Angular Tutorial Note
  • When we render custom component, we need to use the selector value defined in the custom component
// TS part
@Component({
  selector: 'app-sidebar',
  ...
})
class SidebarComponent extends Component {

}
@ppetpadriew
ppetpadriew / vocab_set_1.md
Last active August 27, 2018 12:03
Vocab Set 1

To roll with it: To merely accept it, to not put up any resistance.

yuppie: A young person with a well paid job and fashionable lifestyle.

foodie: A person with particular interest in food.