diff --git a/testsuite/slurm_unit/slurmd/credential_util-test.c b/testsuite/slurm_unit/slurmd/credential_util-test.c
new file mode 100644
index 0000000000000000000000000000000000000000..09aba5a9a1675fdba16e47a71684ef57d04e5b12
--- /dev/null
+++ b/testsuite/slurm_unit/slurmd/credential_util-test.c
@@ -0,0 +1,30 @@
+#include <string.h> 
+
+#include <src/slurmd/credential_utils.h>
+
+int main ( int argc , char * argv[] ) 
+{
+	int signature_length ; 
+	char data [] = "This is test data to sign and verify" ;
+	char signature [20]  ;
+	
+	credential_tools_ctx_t signer_ctx ;
+	credential_tools_ctx_t verifier_ctx ;
+
+	ssl_init ( ) ;
+
+	init_signer ( & signer_ctx , "newreq.pem" ) ;
+	init_verifier ( & verifier_ctx , "newcert.pem" ) ;
+
+	if ( credential_sign ( & signer_ctx , data , strlen ( data ) , signature , & signature_length ) ) ;
+		info ( " sign succeeded %i", signature_length ) ;
+
+	if ( credential_verify ( & verifier_ctx , data , strlen ( data ) , signature , signature_length ) ) ;
+		info ( " verify succeeded " ) ;
+	
+
+	destroy_credential_ctx ( & signer_ctx ) ;
+	destroy_credential_ctx ( & verifier_ctx ) ;
+
+	ssl_destroy ( ) ;
+}