diff --git a/main.go b/main.go
index 99468ab5589a26ee263b23264f5437742bed2493..6dbb9013e66715b7038bc19e797ec572d98afefa 100644
--- a/main.go
+++ b/main.go
@@ -333,14 +333,8 @@ Options:
 	WriteToFile(fullChain, tmpFullchainDestination, GroupName, 0644, 0755)
 	WriteToFile(ca, tmpCaDestination, GroupName, 0644, 0755)
 	WriteToFile(privKey, tmpKeyDestination, GroupName, 0640, 0750)
-	newCert := checkCerificates(CertName, tmpCertificateDestination, tmpFullchainDestination, tmpCaDestination, tmpKeyDestination, Days, false)
-	if newCert == false {
-		fmt.Printf("the certificates are malformed. Skippping installation\n")
-		for _, element := range tempCertSlice {
-			os.Remove(element)
-		}
-		appExit(255)
-	}
+
+	checkCerificates(CertName, tmpCertificateDestination, tmpFullchainDestination, tmpCaDestination, tmpKeyDestination, Days, true)
 
 	WriteToFile(certificate, certificateDestination, GroupName, 0644, 0755)
 	WriteToFile(fullChain, fullchainDestination, GroupName, 0644, 0755)