mirror of
				https://github.com/FiloSottile/mkcert.git
				synced 2022-11-04 12:23:44 +03:00 
			
		
		
		
	Correct failed to save CA certificate message (#399)
This commit is contained in:
		
							
								
								
									
										2
									
								
								cert.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								cert.go
									
									
									
									
									
								
							| @@ -358,7 +358,7 @@ func (m *mkcert) newCA() { | ||||
|  | ||||
| 	err = ioutil.WriteFile(filepath.Join(m.CAROOT, rootName), pem.EncodeToMemory( | ||||
| 		&pem.Block{Type: "CERTIFICATE", Bytes: cert}), 0644) | ||||
| 	fatalIfErr(err, "failed to save CA key") | ||||
| 	fatalIfErr(err, "failed to save CA certificate") | ||||
|  | ||||
| 	log.Printf("Created a new local CA 💥\n") | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Pei-Tang Huang
					Pei-Tang Huang