[{"data":1,"prerenderedAt":303},["ShallowReactive",2],{"Categories":3,"NavIndexCategoriesCountFooter":203,"content-\u002F2010\u002F09\u002F29\u002Fimporting-custom-ca-certificates-to-osx\u002F":204},[4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,68,70,71,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202],{"category":5},"System Administration",{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},"Software Development",{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":27},{"category":27},{"category":67},"Drones & RC",{"category":69},"DIY Projects",{"category":67},{"category":72},"Photography",{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":67},{"category":67},{"category":72},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":5},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":67},{"category":67},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":72},{"category":67},{"category":138},"3D Printing - Laser Cutting - CNC",{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":5},{"category":138},{"category":27},{"category":27},{"category":138},{"category":138},{"category":72},{"category":158},"Photography,3D Printing - Laser Cutting - CNC",{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":67},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":181},"Home Assistant",{"category":181},{"category":72},{"category":27},{"category":27},{"category":72},{"category":138},{"category":5},{"category":72},{"category":72},{"category":138},{"category":27},{"category":181},{"category":181},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},191,{"id":205,"title":206,"body":207,"category":288,"date":289,"description":290,"embedImage":288,"extension":291,"image":288,"intro":288,"meta":292,"navigation":293,"path":294,"seo":295,"series":288,"sitemap":296,"stem":297,"tags":298,"__hash__":302},"content\u002F2010\u002F09\u002F29\u002Fimporting-custom-ca-certificates-to-osx.md","Importing custom CA certificates to OSX",{"type":208,"value":209,"toc":285},"minimark",[210,219,222,225,228,281],[211,212,213,214],"p",{},"For my own sites I use SSL certificates ",[215,216,218],"a",{"href":217},"\u002F2008\u002F08\u002F09\u002Fusing-a-self-generated-certificate-authority-for-openssl-on-debian-etch\u002F","signed by my own CA",[211,220,221],{},"The CA certificate needs to be imported to the machines where I use the websites and for Mac OSX it needs to go into the system keychain - not the users keychain.",[211,223,224],{},"Importing via Keychain Access sometimes fails with cryptic error codes.",[211,226,227],{},"Here's how to do it via the command line:",[229,230,235],"pre",{"className":231,"code":232,"language":233,"meta":234,"style":234},"language-shell shiki shiki-themes github-dark","sudo security import \u003Ccert file name> -k \u002FLibrary\u002FKeychains\u002FSystem.keychain\n","shell","",[236,237,238],"code",{"__ignoreMap":234},[239,240,243,247,251,254,258,261,264,267,271,274,278],"span",{"class":241,"line":242},"line",1,[239,244,246],{"class":245},"svObZ","sudo",[239,248,250],{"class":249},"sU2Wk"," security",[239,252,253],{"class":249}," import",[239,255,257],{"class":256},"snl16"," \u003C",[239,259,260],{"class":249},"cert",[239,262,263],{"class":249}," file",[239,265,266],{"class":249}," nam",[239,268,270],{"class":269},"s95oV","e",[239,272,273],{"class":256},">",[239,275,277],{"class":276},"sDLfK"," -k",[239,279,280],{"class":249}," \u002FLibrary\u002FKeychains\u002FSystem.keychain\n",[282,283,284],"style",{},"html pre.shiki code .svObZ, html code.shiki .svObZ{--shiki-default:#B392F0}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}html pre.shiki code .snl16, html code.shiki .snl16{--shiki-default:#F97583}html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}html pre.shiki code .sDLfK, html code.shiki .sDLfK{--shiki-default:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":234,"searchDepth":286,"depth":286,"links":287},2,[],null,"2010-09-29 09:16:30 +0200","For my own sites I use SSL certificates signed by my own CA","md",{},true,"\u002F2010\u002F09\u002F29\u002Fimporting-custom-ca-certificates-to-osx",{"title":206,"description":290},{"loc":294},"2010\u002F09\u002F29\u002Fimporting-custom-ca-certificates-to-osx",[299,300,301],"mac","ssl","openssl","K0fhAM9DEO8-KR_0pxV78xi9nBdcZU2HKAa1KZkUKKQ",1775293014026]