ssl_test.go 216 B

1234567891011121314151617
  1. package ssl
  2. import (
  3. "fmt"
  4. "testing"
  5. )
  6. func TestGenSSL(t *testing.T) {
  7. err := GenSSL(false)
  8. fmt.Println(err)
  9. }
  10. func TestGetSSLCrtInfo(t *testing.T) {
  11. days, err := CheckSSLCrtInfo()
  12. fmt.Println(days, err)
  13. }