GM TLS on openEuler — the Tongsuo repo reality (zero hits in the default repos) and the enablement paths
Verification scope
Section titled “Verification scope”This page’s evidence is container testing (E2) + entry probing — an inventory of tongsuo/gmssl in the default online repos (2026-11-05, zero hits); reachability of the Tongsuo open-source repo and the GmSSL project entry (github.com/guanzhi/GmSSL, retested 200 on 2026-11-12, openeuler-p6-supplement3.log). GM TLS deployment end-to-end was not tested (see the end of the page).
Repo reality: Tongsuo is absent from the default repos
Section titled “Repo reality: Tongsuo is absent from the default repos”$ dnf list available | grep -icE 'tongsuo|gmssl'0 # default repo set verified (repolist 7 repos: OS/EPOL/everything/update + debuginfo/source/update-source, openeuler-p6-supplement3.log)Tongsuo, Ant Group’s open-source OpenSSL fork for GM crypto, is not in the openEuler default repos — this is the page’s most important verified fact, and it is a gap against the “openEuler natively supports GM crypto” impression. openEuler’s GM support is actually layered: GM algorithm support on the kernel/base-library side (the kernel crypto layer carries the SM family — a system-level matter) versus application-layer GM TLS (OpenSSL-family implementations such as Tongsuo/GmSSL, which you must bring in yourself).
Enablement paths (ordered by effort)
Section titled “Enablement paths (ordered by effort)”- Build Tongsuo from source (the mainstream path): build from the Tongsuo repo (a build surface close to OpenSSL: ./config make install), point applications at Tongsuo via
--openssldiror replace the system openssl (replacing system libraries is a high-risk operation; a separate prefix living alongside is recommended); - GmSSL (another implementation): an independent project (not on the OpenSSL-fork line), larger interface differences, suited to greenfield designs;
- Commercial/compliance suites: commercial GM suites for classified-protection/crypto-evaluation scenarios (turnkey certificate/gateway packages) — compliance projects often take this route.
Application-side integration: nginx GM modules (the tongsuo-nginx shape) and GM algorithms via the Java BC library — the certificate chain is a bigger project than the algorithms (GM CAs, dual-certificate mode); treat the certificate system as a first-class citizen when planning.
Judgement: when you actually need it
Section titled “Judgement: when you actually need it”- Mandatory compliance (crypto evaluation, industry regulation) — no choice, take the paths above;
- Ordinary business — standard TLS 1.3 is fully sufficient; the compatibility burden GM TLS brings (browser/client GM support rates) outweighs the benefit;
- Mixed needs — dual-stack GM/standard TLS at the gateway layer (Tongsuo supports listening for both), standard TLS inside the perimeter.
Unverified
Section titled “Unverified”- Tongsuo build on openEuler and an end-to-end nginx GM site were not tested (source build + dual-certificate deployment is listed as a test item);
- No inventory of the kernel crypto layer’s SM algorithm availability (system-level facts and bringing in Tongsuo are two different things);
- Performance comparison (GM vs standard TLS throughput) not measured.