Skip to content

Commit

Permalink
chore: 调整pem证书格式
Browse files Browse the repository at this point in the history
  • Loading branch information
sangyuxiaowu committed Apr 25, 2024
1 parent e471e42 commit 21b4dd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SangServerTool/SangServerTool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Authors>SangSQ(桑世强)</Authors>
<Version>1.6.1</Version>
<Version>1.6.2</Version>
<Description>DDNS &amp; SSL Tool</Description>
<Company>SangSQ</Company>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion SangServerTool/Tool/GetCert.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public async Task<int> Run(string config_file)
await client.SendAsync(new HttpRequestMessage(HttpMethod.Head, site));
}

return Convert.ToBase64String(_certificate);
return Convert.ToBase64String(_certificate, Base64FormattingOptions.InsertLineBreaks);
}
catch (Exception ex)
{
Expand Down

0 comments on commit 21b4dd2

Please sign in to comment.