The highlighted portion does not seem to correspond.
If the sequence to find is a text, then consider these methods:
declare @table table ( [Certificate] varbinary(max) )
insert @table values
( 0x112233AABBCC778899 ),
( 0x1122330ABBCC778899 ),
( 0x112233445566778899 )
declare @to_find varchar(max) = 'aabbcc'
-- byte-aligned search
select *
from @table
where charindex(convert(varbinary(max), @to_find, 2), [Certificate]) > 0
-- not byte-aligned search
select *
from @table
where convert(varchar(max), [Certificate], 2 ) like '%' + @to_find + '%'